RGB to HEX: #57534D

Also known as: Tailwind stone-600

Result

rgb(87 83 77) → #57534D

Values are shown at full precision, so converting back gives exactly #57534d. 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 = 77 = 4×16 + 13 → 4D
  2. 2. pairs → HEX

    57 53 4D → #57534D

All formats

HEX
#57534d
RGB
rgb(87 83 77)
RGB (legacy)
rgb(87, 83, 77)
HSL
hsl(36.00 6.10% 32.16%) → hsl(36 6% 32%)
HWB
hwb(36 30% 66%)
OKLCH
oklch(0.444 0.011 78.2) · oklch(44.4% 0.011 78.2)
OKLab
oklab(0.444 0.002 0.011)
Lab (D50)
lab(35.54 0.79 4.14)
LCH (D50)
lch(35.54 4.22 79.13)
Display P3
color(display-p3 0.3385 0.3260 0.3045)
Linear sRGB
color(srgb-linear 0.0953 0.0865 0.0742)

Gamut: sRGB and Display P3

#57534D is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.093 and Display P3 reaches 0.106; this color uses 12% of the sRGB chroma available.

CSS snippets

.element {
  color: #57534d;
  color: rgb(87 83 77);
  color: hsl(36 6% 32%);
  color: oklch(0.444 0.011 78.2);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.444 0.011 78.2);
}
/* arbitrary values */
class="text-[#57534d] bg-[oklch(0.444_0.011_78.2)]"

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

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #57534d 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

  • #68645E · oklch(0.504 0.011 78.2) · ΔL +0.06
  • #47433D · oklch(0.384 0.011 78.2) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?