RGB to HEX: #D6D3D1
Also known as: Tailwind stone-300, Tailwind v3 stone-300
Result
rgb(214 211 209) → #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. base 10 → base 16
R = 214 = 13×16 + 6 → D6 G = 211 = 13×16 + 3 → D3 B = 209 = 13×16 + 1 → D1
2. pairs → HEX
D6 D3 D1 → #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).
- 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?