HSL to HEX: #FDA4AF

Also known as: Tailwind v3 rose-300

Result

hsl(352.58 95.70% 81.76%) → #FDA4AF

Values are shown at full precision, so converting back gives exactly #fda4af. 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 = 352.58°, S = 95.70%, L = 81.76%
  2. 2. C

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

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

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

    (R′, G′, B′) = (0.34911, 0.00000, 0.04317)
    R = round((0.34911 + 0.64304) × 255) = 253
    G = round((0.00000 + 0.64304) × 255) = 164
    B = round((0.04317 + 0.64304) × 255) = 175
  6. 6. RGB → HEX

    #FDA4AF

All formats

HEX
#fda4af
RGB
rgb(253 164 175)
RGB (legacy)
rgb(253, 164, 175)
HSL
hsl(352.58 95.70% 81.76%) → hsl(353 96% 82%)
HWB
hwb(353 64% 1%)
OKLCH
oklch(0.810 0.106 11.6) · oklch(81.0% 0.106 11.6)
OKLab
oklab(0.810 0.104 0.021)
Lab (D50)
lab(76.72 34.81 8.76)
LCH (D50)
lch(76.72 35.90 14.12)
Display P3
color(display-p3 0.9423 0.6588 0.6901)
Linear sRGB
color(srgb-linear 0.9823 0.3712 0.4287)

Gamut: sRGB and Display P3

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

CSS snippets

.element {
  color: #fda4af;
  color: rgb(253 164 175);
  color: hsl(353 96% 82%);
  color: oklch(0.810 0.106 11.6);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.810 0.106 11.6);
}
/* arbitrary values */
class="text-[#fda4af] bg-[oklch(0.810_0.106_11.6)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.9423 0.6588 0.6901); }
}

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

  • #FFB7C2 · oklch(0.870 0.106 11.6) · ΔL +0.06
  • #E8919C · oklch(0.750 0.106 11.6) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?