OKLCH to HEX: #FF6467
Also known as: Tailwind red-400
Result
oklch(0.70218 0.18923 22.228) → #FF6467
Values are shown at full precision, so converting back gives exactly #ff6467. 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.70218 0.18923 22.228)
2. OKLCH → Oklab
a = C·cos H = 0.17517 b = C·sin H = 0.07158
3. Oklab → LMS′
l′ = L + 0.3963·a + 0.2158·b = 0.787054 m′ = L − 0.1056·a − 0.0639·b = 0.679118 s′ = L − 0.0895·a − 1.2915·b = 0.594055
4. cube
l = 0.787054³ = 0.487543 m = 0.679118³ = 0.313210 s = 0.594055³ = 0.209643
5. LMS → linear sRGB
R = 4.0767·l − 3.3077·m + 0.2310·s = 1.000000 G = −1.2684·l + 2.6098·m − 0.3413·s = 0.127429 B = −0.0042·l − 0.7034·m + 1.7076·s = 0.135626
6. linear → sRGB, × 255
R = 1.00000 × 255 = 255.00 → 255 G = 0.39214 × 255 = 100.00 → 100 B = 0.40391 × 255 = 103.00 → 103
7. RGB → HEX
#FF6467
All formats
- HEX
- #ff6467
- RGB
- rgb(255 100 103)
- RGB (legacy)
- rgb(255, 100, 103)
- HSL
- hsl(358.84 100.00% 69.61%) → hsl(359 100% 70%)
- HWB
- hwb(359 39% 0%)
- OKLCH
- oklch(0.702 0.189 22.2) · oklch(70.2% 0.189 22.2)
- OKLab
- oklab(0.702 0.175 0.072)
- Lab (D50)
- lab(63.51 60.17 31.00)
- LCH (D50)
- lch(63.51 67.69 27.26)
- Display P3
- color(display-p3 0.9285 0.4320 0.4233)
- Linear sRGB
- color(srgb-linear 1.0000 0.1274 0.1356)
Gamut: sRGB and Display P3
#FF6467 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.189 and Display P3 reaches 0.241; this color uses 100% of the sRGB chroma available.
CSS snippets
.element {
color: #ff6467;
color: rgb(255 100 103);
color: hsl(359 100% 70%);
color: oklch(0.702 0.189 22.2);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.702 0.189 22.2);
}
/* arbitrary values */
class="text-[#ff6467] bg-[oklch(0.702_0.189_22.2)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9285 0.4320 0.4233); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #ff6467 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 red-400#F87171
- rose-400#FF637E
- tomato#FF6347
- v3 rose-400#FB7185
- salmon#FA8072
- lightcoral#F08080
- v3 rose-500#F43F5E
- coral#FF7F50
Lighter and darker, same hue and chroma
- #FF7879 · oklch(0.762 0.189 22.2) · ΔL +0.06
- #E95055 · oklch(0.642 0.189 22.2) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?