HEX to RGB: #D6D3D1

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

Result

#D6D3D1 → rgb(214 211 209)

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. HEX → pairs

    #D6D3D1 → D6 | D3 | D1
  2. 2. base 16 → base 10

    R = D6₁₆ = 13×16 + 6 = 214
    G = D3₁₆ = 13×16 + 3 = 211
    B = D1₁₆ = 13×16 + 1 = 209
  3. 3. RGB

    rgb(214 211 209)

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?