HSL to HEX: #57534E

Also known as: Tailwind v3 stone-600

Result

hsl(33.33 5.45% 32.35%) → #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. input

    H = 33.33°, S = 5.45%, L = 32.35%
  2. 2. C

    C = (1 − |2L − 1|) × S = 0.03526
  3. 3. X

    X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.01959   (H / 60° = 0.5555, sector 0)
  4. 4. m

    m = L − C / 2 = 0.30587
  5. 5. (R′, G′, B′) + m

    (R′, G′, B′) = (0.03526, 0.01959, 0.00000)
    R = round((0.03526 + 0.30587) × 255) = 87
    G = round((0.01959 + 0.30587) × 255) = 83
    B = round((0.00000 + 0.30587) × 255) = 78
  6. 6. RGB → HEX

    #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?