HEX to HSL: #FDA5D5

Also known as: Tailwind pink-300

Result

#FDA5D5 → hsl(327 96% 82%)

Values are shown at full precision, so converting back gives exactly #fda5d5. 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.9922
    G = 0.6471
    B = 0.8353
  2. 2. max, min, Δ

    max = 0.9922
    min = 0.6471
    Δ = max − min = 0.3451
  3. 3. L

    L = (max + min) / 2 = 0.8196 = 81.96%
  4. 4. S

    S = Δ / (1 − |2L − 1|) = 0.9565 = 95.65%
  5. 5. H

    max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.6471 − 0.8353) / 0.3451) mod 6) = 327.27°
  6. 6. HSL

    hsl(327.27 95.65% 81.96%)

All formats

HEX
#fda5d5
RGB
rgb(253 165 213)
RGB (legacy)
rgb(253, 165, 213)
HSL
hsl(327.27 95.65% 81.96%) → hsl(327 96% 82%)
HWB
hwb(327 65% 1%)
OKLCH
oklch(0.823 0.119 346.2) · oklch(82.3% 0.119 346.2)
OKLab
oklab(0.823 0.116 -0.028)
Lab (D50)
lab(77.79 38.23 -10.35)
LCH (D50)
lch(77.79 39.60 344.85)
Display P3
color(display-p3 0.9427 0.6625 0.8266)
Linear sRGB
color(srgb-linear 0.9823 0.3763 0.6654)

Gamut: sRGB and Display P3

#FDA5D5 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.124 and Display P3 reaches 0.164; this color uses 96% of the sRGB chroma available.

CSS snippets

.element {
  color: #fda5d5;
  color: rgb(253 165 213);
  color: hsl(327 96% 82%);
  color: oklch(0.823 0.119 346.2);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.823 0.119 346.2);
}
/* arbitrary values */
class="text-[#fda5d5] bg-[oklch(0.823_0.119_346.2)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.9427 0.6625 0.8266); }
}

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

  • #FFB8E9 · oklch(0.883 0.119 346.2) · ΔL +0.06
  • #E892C2 · oklch(0.763 0.119 346.2) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?