OKLCH to HEX: #E8E4E3

Also known as: Tailwind taupe-200

Result

oklch(0.92171 0.00456 34.309) → #E8E4E3

Values are shown at full precision, so converting back gives exactly #e8e4e3. 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. input

    oklch(0.92171 0.00456 34.309)
  2. 2. OKLCH → Oklab

    a = C·cos H = 0.00377
    b = C·sin H = 0.00257
  3. 3. Oklab → LMS′

    l′ = L + 0.3963·a + 0.2158·b = 0.923758
    m′ = L − 0.1056·a − 0.0639·b = 0.921148
    s′ = L − 0.0895·a − 1.2915·b = 0.918053
  4. 4. cube

    l = 0.923758³ = 0.788268
    m = 0.921148³ = 0.781607
    s = 0.918053³ = 0.773756
  5. 5. LMS → linear sRGB

    R = 4.0767·l − 3.3077·m + 0.2310·s = 0.806948
    G = −1.2684·l + 2.6098·m − 0.3413·s = 0.775838
    B = −0.0042·l − 0.7034·m + 1.7076·s = 0.768172
  6. 6. linear → sRGB, × 255

    R = 0.90980 × 255 = 232.00 → 232
    G = 0.89413 × 255 = 228.00 → 228
    B = 0.89021 × 255 = 227.00 → 227
  7. 7. RGB → HEX

    #E8E4E3

All formats

HEX
#e8e4e3
RGB
rgb(232 228 227)
RGB (legacy)
rgb(232, 228, 227)
HSL
hsl(12.00 9.80% 90.00%) → hsl(12 10% 90%)
HWB
hwb(12 89% 9%)
OKLCH
oklch(0.922 0.005 34.3) · oklch(92.2% 0.005 34.3)
OKLab
oklab(0.922 0.004 0.003)
Lab (D50)
lab(90.88 1.27 0.99)
LCH (D50)
lch(90.88 1.61 38.05)
Display P3
color(display-p3 0.9070 0.8946 0.8908)
Linear sRGB
color(srgb-linear 0.8070 0.7758 0.7682)

Gamut: sRGB and Display P3

#E8E4E3 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.041 and Display P3 reaches 0.053; this color uses 11% of the sRGB chroma available.

CSS snippets

.element {
  color: #e8e4e3;
  color: rgb(232 228 227);
  color: hsl(12 10% 90%);
  color: oklch(0.922 0.005 34.3);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.922 0.005 34.3);
}
/* arbitrary values */
class="text-[#e8e4e3] bg-[oklch(0.922_0.005_34.3)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.9070 0.8946 0.8908); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #e8e4e3 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

  • #FCF8F7 · oklch(0.982 0.005 34.3) · ΔL +0.06
  • #D4D0CF · oklch(0.862 0.005 34.3) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?