OKLCH to HEX: #FFE4E6

Also known as: Tailwind rose-100, Tailwind v3 rose-100

Result

oklch(0.94137 0.02978 12.580) → #FFE4E6

Values are shown at full precision, so converting back gives exactly #ffe4e6. 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.94137 0.02978 12.580)
  2. 2. OKLCH → Oklab

    a = C·cos H = 0.02907
    b = C·sin H = 0.00649
  3. 3. Oklab → LMS′

    l′ = L + 0.3963·a + 0.2158·b = 0.954289
    m′ = L − 0.1056·a − 0.0639·b = 0.937888
    s′ = L − 0.0895·a − 1.2915·b = 0.930392
  4. 4. cube

    l = 0.954289³ = 0.869041
    m = 0.937888³ = 0.824997
    s = 0.930392³ = 0.805375
  5. 5. LMS → linear sRGB

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

    R = 1.00000 × 255 = 255.00 → 255
    G = 0.89412 × 255 = 228.00 → 228
    B = 0.90196 × 255 = 230.00 → 230
  7. 7. RGB → HEX

    #FFE4E6

All formats

HEX
#ffe4e6
RGB
rgb(255 228 230)
RGB (legacy)
rgb(255, 228, 230)
HSL
hsl(355.56 100.00% 94.71%) → hsl(356 100% 95%)
HWB
hwb(356 89% 0%)
OKLCH
oklch(0.941 0.030 12.6) · oklch(94.1% 0.030 12.6)
OKLab
oklab(0.941 0.029 0.006)
Lab (D50)
lab(92.87 9.80 2.58)
LCH (D50)
lch(92.87 10.13 14.76)
Display P3
color(display-p3 0.9823 0.8979 0.9032)
Linear sRGB
color(srgb-linear 1.0000 0.7758 0.7913)

Gamut: sRGB and Display P3

#FFE4E6 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.030 and Display P3 reaches 0.039; this color uses 100% of the sRGB chroma available.

CSS snippets

.element {
  color: #ffe4e6;
  color: rgb(255 228 230);
  color: hsl(356 100% 95%);
  color: oklch(0.941 0.030 12.6);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.941 0.030 12.6);
}
/* arbitrary values */
class="text-[#ffe4e6] bg-[oklch(0.941_0.030_12.6)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.9823 0.8979 0.9032); }
}

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

  • #FFF7F9 · oklch(1.000 0.030 12.6) · ΔL +0.06
  • #EBD0D2 · oklch(0.881 0.030 12.6) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?