HEX to HSL: #D6D3D1
Also known as: Tailwind stone-300, Tailwind v3 stone-300
Result
#D6D3D1 → hsl(24 6% 83%)
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. RGB ÷ 255
R = 0.8392 G = 0.8275 B = 0.8196
2. max, min, Δ
max = 0.8392 min = 0.8196 Δ = max − min = 0.0196
3. L
L = (max + min) / 2 = 0.8294 = 82.94%
4. S
S = Δ / (1 − |2L − 1|) = 0.0575 = 5.75%
5. H
max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.8275 − 0.8196) / 0.0196) mod 6) = 24.00°
6. HSL
hsl(24.00 5.75% 82.94%)
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).
- taupe-300#D8D2D0
- neutral-300#D4D4D4
- lightgray#D3D3D3
- zinc-300#D4D4D8
- mist-300#D0D6D8
- mauve-300#D7D0D7
- v3 gray-300#D1D5DB
- olive-300#D8D8D0
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
Guides: What is OKLCH?