HEX to HSL: #F472B6
Also known as: Tailwind v3 pink-400
Result
#F472B6 → hsl(329 86% 70%)
Values are shown at full precision, so converting back gives exactly #f472b6. 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. RGB ÷ 255
R = 0.9569 G = 0.4471 B = 0.7137
2. max, min, Δ
max = 0.9569 min = 0.4471 Δ = max − min = 0.5098
3. L
L = (max + min) / 2 = 0.7020 = 70.20%
4. S
S = Δ / (1 − |2L − 1|) = 0.8553 = 85.53%
5. H
max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.4471 − 0.7137) / 0.5098) mod 6) = 328.62°
6. HSL
hsl(328.62 85.53% 70.20%)
All formats
- HEX
- #f472b6
- RGB
- rgb(244 114 182)
- RGB (legacy)
- rgb(244, 114, 182)
- HSL
- hsl(328.62 85.53% 70.20%) → hsl(329 86% 70%)
- HWB
- hwb(329 45% 4%)
- OKLCH
- oklch(0.725 0.175 349.8) · oklch(72.5% 0.175 349.8)
- OKLab
- oklab(0.725 0.172 -0.031)
- Lab (D50)
- lab(65.77 56.14 -11.13)
- LCH (D50)
- lch(65.77 57.23 348.79)
- Display P3
- color(display-p3 0.8931 0.4763 0.7039)
- Linear sRGB
- color(srgb-linear 0.9047 0.1683 0.4678)
Gamut: sRGB and Display P3
#F472B6 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.205 and Display P3 reaches 0.267; this color uses 86% of the sRGB chroma available.
CSS snippets
.element {
color: #f472b6;
color: rgb(244 114 182);
color: hsl(329 86% 70%);
color: oklch(0.725 0.175 349.8);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.725 0.175 349.8);
}
/* arbitrary values */
class="text-[#f472b6] bg-[oklch(0.725_0.175_349.8)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.8931 0.4763 0.7039); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #f472b6 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- hotpink#FF69B4
- pink-400#FB64B6
- palevioletred#DB7093
- orchid#DA70D6
- v3 rose-400#FB7185
- rose-400#FF637E
- v3 pink-500#EC4899
- violet#EE82EE
Lighter and darker, same hue and chroma
- #FF85C9 · oklch(0.785 0.175 349.8) · ΔL +0.06
- #DF5FA3 · oklch(0.665 0.175 349.8) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?