HEX to OKLCH: #FDA4AF
Also known as: Tailwind v3 rose-300
Result
#FDA4AF → oklch(0.810 0.106 11.6)
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. sRGB → linear
R: 253/255 = 0.99216 → 0.982251 (((x + 0.055) / 1.055)^2.4) G: 164/255 = 0.64314 → 0.371238 (((x + 0.055) / 1.055)^2.4) B: 175/255 = 0.68627 → 0.428690 (((x + 0.055) / 1.055)^2.4)
2. linear sRGB → LMS
l = 0.4122·R + 0.5363·G + 0.0514·B = 0.626066 m = 0.2119·R + 0.6807·G + 0.1074·B = 0.506884 s = 0.0883·R + 0.2817·G + 0.6300·B = 0.461386
3. cube root
l′ = ∛0.626066 = 0.855474 m′ = ∛0.506884 = 0.797326 s′ = ∛0.461386 = 0.772719
4. LMS′ → Oklab
L = 0.2105·l′ + 0.7936·m′ − 0.0041·s′ = 0.80966 a = 1.9780·l′ − 2.4286·m′ + 0.4506·s′ = 0.10393 b = 0.0259·l′ + 0.7828·m′ − 0.8087·s′ = 0.02141
5. Oklab → OKLCH
C = √(a² + b²) = 0.10611 H = atan2(b, a) = 11.638° L = 0.80966
6. OKLCH
oklch(0.80966 0.10611 11.638) rounded: oklch(0.810 0.106 11.6)
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).
- rose-300#FFA1AD
- v3 red-300#FCA5A5
- red-300#FFA2A2
- lightpink#FFB6C1
- v3 pink-300#F9A8D4
- pink-300#FDA5D5
- lightsalmon#FFA07A
- pink#FFC0CB
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
Guides: What is OKLCH?