OKLCH to HEX: #F1F3F3
Also known as: Tailwind mist-100
Result
oklch(0.96263 0.00214 197.122) → #F1F3F3
Values are shown at full precision, so converting back gives exactly #f1f3f3. 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.96263 0.00214 197.122)
2. OKLCH → Oklab
a = C·cos H = -0.00205 b = C·sin H = -0.00063
3. Oklab → LMS′
l′ = L + 0.3963·a + 0.2158·b = 0.961683 m′ = L − 0.1056·a − 0.0639·b = 0.962886 s′ = L − 0.0895·a − 1.2915·b = 0.963627
4. cube
l = 0.961683³ = 0.889399 m = 0.962886³ = 0.892740 s = 0.963627³ = 0.894801
5. LMS → linear sRGB
R = 4.0767·l − 3.3077·m + 0.2310·s = 0.879596 G = −1.2684·l + 2.6098·m − 0.3413·s = 0.896274 B = −0.0042·l − 0.7034·m + 1.7076·s = 0.896274
6. linear → sRGB, × 255
R = 0.94509 × 255 = 241.00 → 241 G = 0.95294 × 255 = 243.00 → 243 B = 0.95294 × 255 = 243.00 → 243
7. RGB → HEX
#F1F3F3
All formats
- HEX
- #f1f3f3
- RGB
- rgb(241 243 243)
- RGB (legacy)
- rgb(241, 243, 243)
- HSL
- hsl(180.00 7.69% 94.90%) → hsl(180 8% 95%)
- HWB
- hwb(180 95% 5%)
- OKLCH
- oklch(0.963 0.002 197.1) · oklch(96.3% 0.002 197.1)
- OKLab
- oklab(0.963 -0.002 -0.001)
- Lab (D50)
- lab(95.69 -0.69 -0.25)
- LCH (D50)
- lch(95.69 0.73 199.65)
- Display P3
- color(display-p3 0.9465 0.9527 0.9528)
- Linear sRGB
- color(srgb-linear 0.8796 0.8963 0.8963)
Gamut: sRGB and Display P3
#F1F3F3 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.053 and Display P3 reaches 0.057; this color uses 4% of the sRGB chroma available.
CSS snippets
.element {
color: #f1f3f3;
color: rgb(241 243 243);
color: hsl(180 8% 95%);
color: oklch(0.963 0.002 197.1);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.963 0.002 197.1);
}
/* arbitrary values */
class="text-[#f1f3f3] bg-[oklch(0.963_0.002_197.1)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9465 0.9527 0.9528); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #f1f3f3 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- gray-100#F3F4F6
- taupe-100#F3F1F1
- zinc-100#F4F4F5
- mauve-100#F3F1F3
- olive-100#F4F4F0
- stone-100#F5F5F4
- neutral-100#F5F5F5
- slate-100#F1F5F9
Lighter and darker, same hue and chroma
- #FDFFFF · oklch(1.000 0.002 197.1) · ΔL +0.06
- #DDDFDF · oklch(0.903 0.002 197.1) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?