HEX to HSL: #D0D6D8
Also known as: Tailwind mist-300
Result
#D0D6D8 → hsl(195 9% 83%)
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. RGB ÷ 255
R = 0.8157 G = 0.8392 B = 0.8471
2. max, min, Δ
max = 0.8471 min = 0.8157 Δ = max − min = 0.0314
3. L
L = (max + min) / 2 = 0.8314 = 83.14%
4. S
S = Δ / (1 − |2L − 1|) = 0.0930 = 9.30%
5. H
max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.8157 − 0.8392) / 0.0314 + 4) = 195.00°
6. HSL
hsl(195.00 9.30% 83.14%)
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?