HSL to HEX: #D6D3D1

Also known as: Tailwind stone-300, Tailwind v3 stone-300

Result

hsl(24.00 5.75% 82.94%) → #D6D3D1

Values are shown at full precision, so converting back gives exactly #d6d3d1. 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 = 24.00°, S = 5.75%, L = 82.94%
  2. 2. C

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

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

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

    (R′, G′, B′) = (0.01962, 0.00785, 0.00000)
    R = round((0.01962 + 0.81959) × 255) = 214
    G = round((0.00785 + 0.81959) × 255) = 211
    B = round((0.00000 + 0.81959) × 255) = 209
  6. 6. RGB → HEX

    #D6D3D1

All formats

HEX
#d6d3d1
RGB
rgb(214 211 209)
RGB (legacy)
rgb(214, 211, 209)
HSL
hsl(24.00 5.75% 82.94%) → hsl(24 6% 83%)
HWB
hwb(24 82% 16%)
OKLCH
oklch(0.869 0.004 56.4) · oklch(86.9% 0.004 56.4)
OKLab
oklab(0.869 0.002 0.004)
Lab (D50)
lab(84.75 0.80 1.38)
LCH (D50)
lch(84.75 1.59 59.86)
Display P3
color(display-p3 0.8371 0.8278 0.8205)
Linear sRGB
color(srgb-linear 0.6724 0.6514 0.6376)

Gamut: sRGB and Display P3

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

CSS snippets

.element {
  color: #d6d3d1;
  color: rgb(214 211 209);
  color: hsl(24 6% 83%);
  color: oklch(0.869 0.004 56.4);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.869 0.004 56.4);
}
/* arbitrary values */
class="text-[#d6d3d1] bg-[oklch(0.869_0.004_56.4)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.8371 0.8278 0.8205); }
}

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

  • #EAE7E5 · oklch(0.929 0.004 56.4) · ΔL +0.06
  • #C3C0BE · oklch(0.809 0.004 56.4) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?