HEX to HSL: #FCCEE8

Also known as: Tailwind pink-200

Result

#FCCEE8 → hsl(326 88% 90%)

Values are shown at full precision, so converting back gives exactly #fccee8. 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. RGB ÷ 255

    R = 0.9882
    G = 0.8078
    B = 0.9098
  2. 2. max, min, Δ

    max = 0.9882
    min = 0.8078
    Δ = max − min = 0.1804
  3. 3. L

    L = (max + min) / 2 = 0.8980 = 89.80%
  4. 4. S

    S = Δ / (1 − |2L − 1|) = 0.8846 = 88.46%
  5. 5. H

    max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.8078 − 0.9098) / 0.1804) mod 6) = 326.09°
  6. 6. HSL

    hsl(326.09 88.46% 89.80%)

All formats

HEX
#fccee8
RGB
rgb(252 206 232)
RGB (legacy)
rgb(252, 206, 232)
HSL
hsl(326.09 88.46% 89.80%) → hsl(326 88% 90%)
HWB
hwb(326 81% 1%)
OKLCH
oklch(0.898 0.061 343.4) · oklch(89.8% 0.061 343.4)
OKLab
oklab(0.899 0.059 -0.018)
Lab (D50)
lab(87.39 19.77 -6.43)
LCH (D50)
lch(87.39 20.79 341.98)
Display P3
color(display-p3 0.9594 0.8147 0.9044)
Linear sRGB
color(srgb-linear 0.9734 0.6172 0.8070)

Gamut: sRGB and Display P3

#FCCEE8 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.068 and Display P3 reaches 0.091; this color uses 90% of the sRGB chroma available.

CSS snippets

.element {
  color: #fccee8;
  color: rgb(252 206 232);
  color: hsl(326 88% 90%);
  color: oklch(0.898 0.061 343.4);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.898 0.061 343.4);
}
/* arbitrary values */
class="text-[#fccee8] bg-[oklch(0.898_0.061_343.4)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.9594 0.8147 0.9044); }
}

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

  • #FFE2FC · oklch(0.958 0.061 343.4) · ΔL +0.06
  • #E8BBD4 · oklch(0.839 0.061 343.4) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?