OKLCH to HEX: #FDA4AF
Also known as: Tailwind v3 rose-300
Result
oklch(0.80966 0.10611 11.638) → #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. input
oklch(0.80966 0.10611 11.638)
2. OKLCH → Oklab
a = C·cos H = 0.10393 b = C·sin H = 0.02141
3. Oklab → LMS′
l′ = L + 0.3963·a + 0.2158·b = 0.855470 m′ = L − 0.1056·a − 0.0639·b = 0.797322 s′ = L − 0.0895·a − 1.2915·b = 0.772715
4. cube
l = 0.855470³ = 0.626058 m = 0.797322³ = 0.506876 s = 0.772715³ = 0.461380
5. LMS → linear sRGB
R = 4.0767·l − 3.3077·m + 0.2310·s = 0.982242 G = −1.2684·l + 2.6098·m − 0.3413·s = 0.371230 B = −0.0042·l − 0.7034·m + 1.7076·s = 0.428686
6. linear → sRGB, × 255
R = 0.99215 × 255 = 253.00 → 253 G = 0.64313 × 255 = 164.00 → 164 B = 0.68627 × 255 = 175.00 → 175
7. 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).
- 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?