HEX to HSL: #FCA5A5
Also known as: Tailwind v3 red-300
Result
#FCA5A5 → hsl(0 94% 82%)
Values are shown at full precision, so converting back gives exactly #fca5a5. 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.9882 G = 0.6471 B = 0.6471
2. max, min, Δ
max = 0.9882 min = 0.6471 Δ = max − min = 0.3412
3. L
L = (max + min) / 2 = 0.8176 = 81.76%
4. S
S = Δ / (1 − |2L − 1|) = 0.9355 = 93.55%
5. H
max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.6471 − 0.6471) / 0.3412) mod 6) = 0.00°
6. HSL
hsl(0.00 93.55% 81.76%)
All formats
- HEX
- #fca5a5
- RGB
- rgb(252 165 165)
- RGB (legacy)
- rgb(252, 165, 165)
- HSL
- hsl(0.00 93.55% 81.76%) → hsl(0 94% 82%)
- HWB
- hwb(0 65% 1%)
- OKLCH
- oklch(0.808 0.103 19.6) · oklch(80.8% 0.103 19.6)
- OKLab
- oklab(0.808 0.098 0.035)
- Lab (D50)
- lab(76.63 33.05 14.04)
- LCH (D50)
- lch(76.63 35.91 23.01)
- Display P3
- color(display-p3 0.9393 0.6622 0.6549)
- Linear sRGB
- color(srgb-linear 0.9734 0.3763 0.3763)
Gamut: sRGB and Display P3
#FCA5A5 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.109 and Display P3 reaches 0.141; this color uses 95% of the sRGB chroma available.
CSS snippets
.element {
color: #fca5a5;
color: rgb(252 165 165);
color: hsl(0 94% 82%);
color: oklch(0.808 0.103 19.6);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.808 0.103 19.6);
}
/* arbitrary values */
class="text-[#fca5a5] bg-[oklch(0.808_0.103_19.6)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9393 0.6622 0.6549); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #fca5a5 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- red-300#FFA2A2
- v3 rose-300#FDA4AF
- rose-300#FFA1AD
- lightpink#FFB6C1
- lightsalmon#FFA07A
- v3 pink-300#F9A8D4
- pink-300#FDA5D5
- darksalmon#E9967A
Lighter and darker, same hue and chroma
- #FFB8B8 · oklch(0.868 0.103 19.6) · ΔL +0.06
- #E79293 · oklch(0.748 0.103 19.6) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?