RGB to HEX: #57534E

Also known as: Tailwind v3 stone-600

Result

rgb(87 83 78) → #57534E

Values are shown at full precision, so converting back gives exactly #57534e. The rounded form is what you normally paste into CSS.

Step-by-step math

Every number below is computed from the input, nothing is looked up.

  1. 1. base 10 → base 16

    R = 87 = 5×16 + 7 → 57
    G = 83 = 5×16 + 3 → 53
    B = 78 = 4×16 + 14 → 4E
  2. 2. pairs → HEX

    57 53 4E → #57534E

All formats

HEX
#57534e
RGB
rgb(87 83 78)
RGB (legacy)
rgb(87, 83, 78)
HSL
hsl(33.33 5.45% 32.35%) → hsl(33 5% 32%)
HWB
hwb(33 31% 66%)
OKLCH
oklch(0.444 0.010 73.6) · oklch(44.4% 0.010 73.6)
OKLab
oklab(0.444 0.003 0.009)
Lab (D50)
lab(35.56 0.94 3.55)
LCH (D50)
lch(35.56 3.67 75.19)
Display P3
color(display-p3 0.3385 0.3260 0.3080)
Linear sRGB
color(srgb-linear 0.0953 0.0865 0.0762)

Gamut: sRGB and Display P3

#57534E is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.094 and Display P3 reaches 0.108; this color uses 10% of the sRGB chroma available.

CSS snippets

.element {
  color: #57534e;
  color: rgb(87 83 78);
  color: hsl(33 5% 32%);
  color: oklch(0.444 0.010 73.6);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.444 0.010 73.6);
}
/* arbitrary values */
class="text-[#57534e] bg-[oklch(0.444_0.010_73.6)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.3385 0.3260 0.3080); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #57534e calc(l - 0.1) c h); }

Nearby colors

Closest colors in the Tailwind and CSS named palettes (OKLab distance).

Lighter and darker, same hue and chroma

  • #68645F · oklch(0.504 0.010 73.6) · ΔL +0.06
  • #47433E · oklch(0.384 0.010 73.6) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?