HSL to HEX: #D0D6D8
Also known as: Tailwind mist-300
Result
hsl(195.00 9.30% 83.14%) → #D0D6D8
Values are shown at full precision, so converting back gives exactly #d0d6d8. 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. input
H = 195.00°, S = 9.30%, L = 83.14%
2. C
C = (1 − |2L − 1|) × S = 0.03136
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.02352 (H / 60° = 3.2500, sector 3)
4. m
m = L − C / 2 = 0.81572
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.00000, 0.02352, 0.03136) R = round((0.00000 + 0.81572) × 255) = 208 G = round((0.02352 + 0.81572) × 255) = 214 B = round((0.03136 + 0.81572) × 255) = 216
6. RGB → HEX
#D0D6D8
All formats
- HEX
- #d0d6d8
- RGB
- rgb(208 214 216)
- RGB (legacy)
- rgb(208, 214, 216)
- HSL
- hsl(195.00 9.30% 83.14%) → hsl(195 9% 83%)
- HWB
- hwb(195 82% 15%)
- OKLCH
- oklch(0.872 0.007 219.6) · oklch(87.2% 0.007 219.6)
- OKLab
- oklab(0.872 -0.005 -0.005)
- Lab (D50)
- lab(85.20 -1.83 -1.74)
- LCH (D50)
- lch(85.20 2.52 223.50)
- Display P3
- color(display-p3 0.8199 0.8384 0.8460)
- Linear sRGB
- color(srgb-linear 0.6308 0.6724 0.6867)
Gamut: sRGB and Display P3
#D0D6D8 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.101; this color uses 8% of the sRGB chroma available.
CSS snippets
.element {
color: #d0d6d8;
color: rgb(208 214 216);
color: hsl(195 9% 83%);
color: oklch(0.872 0.007 219.6);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.872 0.007 219.6);
}
/* arbitrary values */
class="text-[#d0d6d8] bg-[oklch(0.872_0.007_219.6)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.8199 0.8384 0.8460); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #d0d6d8 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 gray-300#D1D5DB
- zinc-300#D4D4D8
- gray-300#D1D5DC
- neutral-300#D4D4D4
- lightgray#D3D3D3
- stone-300#D6D3D1
- v3 slate-300#CBD5E1
- taupe-300#D8D2D0
Lighter and darker, same hue and chroma
- #E4EAEC · oklch(0.932 0.007 219.6) · ΔL +0.06
- #BDC3C5 · oklch(0.812 0.007 219.6) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?