HSL to HEX: #FFE4E6

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

Result

hsl(355.56 100.00% 94.71%) → #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

    H = 355.56°, S = 100.00%, L = 94.71%
  2. 2. C

    C = (1 − |2L − 1|) × S = 0.10580
  3. 3. X

    X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.00783   (H / 60° = 5.9260, sector 5)
  4. 4. m

    m = L − C / 2 = 0.89420
  5. 5. (R′, G′, B′) + m

    (R′, G′, B′) = (0.10580, 0.00000, 0.00783)
    R = round((0.10580 + 0.89420) × 255) = 255
    G = round((0.00000 + 0.89420) × 255) = 228
    B = round((0.00783 + 0.89420) × 255) = 230
  6. 6. 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?