HEX to OKLCH: #48D1CC
Also known as: CSS mediumturquoise
Result
#48D1CC → oklch(0.787 0.116 191.6)
Values are shown at full precision, so converting back gives exactly #48d1cc. 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: 72/255 = 0.28235 → 0.064803 (((x + 0.055) / 1.055)^2.4) G: 209/255 = 0.81961 → 0.637597 (((x + 0.055) / 1.055)^2.4) B: 204/255 = 0.80000 → 0.603827 (((x + 0.055) / 1.055)^2.4)
2. linear sRGB → LMS
l = 0.4122·R + 0.5363·G + 0.0514·B = 0.399742 m = 0.2119·R + 0.6807·G + 0.1074·B = 0.512593 s = 0.0883·R + 0.2817·G + 0.6300·B = 0.565744
3. cube root
l′ = ∛0.399742 = 0.736648 m′ = ∛0.512593 = 0.800309 s′ = ∛0.565744 = 0.827066
4. LMS′ → Oklab
L = 0.2105·l′ + 0.7936·m′ − 0.0041·s′ = 0.78680 a = 1.9780·l′ − 2.4286·m′ + 0.4506·s′ = -0.11387 b = 0.0259·l′ + 0.7828·m′ − 0.8087·s′ = -0.02329
5. Oklab → OKLCH
C = √(a² + b²) = 0.11622 H = atan2(b, a) = 191.558° L = 0.78680
6. OKLCH
oklch(0.78680 0.11622 191.558) rounded: oklch(0.787 0.116 191.6)
All formats
- HEX
- #48d1cc
- RGB
- rgb(72 209 204)
- RGB (legacy)
- rgb(72, 209, 204)
- HSL
- hsl(177.81 59.83% 55.10%) → hsl(178 60% 55%)
- HWB
- hwb(178 28% 18%)
- OKLCH
- oklch(0.787 0.116 191.6) · oklch(78.7% 0.116 191.6)
- OKLab
- oklab(0.787 -0.114 -0.023)
- Lab (D50)
- lab(76.56 -38.88 -8.97)
- LCH (D50)
- lch(76.56 39.90 192.99)
- Display P3
- color(display-p3 0.4448 0.8086 0.7960)
- Linear sRGB
- color(srgb-linear 0.0648 0.6376 0.6038)
Gamut: sRGB and Display P3
#48D1CC is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.135 and Display P3 reaches 0.182; this color uses 86% of the sRGB chroma available.
CSS snippets
.element {
color: #48d1cc;
color: rgb(72 209 204);
color: hsl(178 60% 55%);
color: oklch(0.787 0.116 191.6);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.787 0.116 191.6);
}
/* arbitrary values */
class="text-[#48d1cc] bg-[oklch(0.787_0.116_191.6)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.4448 0.8086 0.7960); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #48d1cc calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- darkturquoise#00CED1
- v3 teal-400#2DD4BF
- teal-400#00D5BE
- turquoise#40E0D0
- mediumaquamarine#66CDAA
- v3 cyan-400#22D3EE
- cyan-400#00D3F2
- v3 teal-300#5EEAD4
Lighter and darker, same hue and chroma
- #60E5E0 · oklch(0.847 0.116 191.6) · ΔL +0.06
- #2CBDB9 · oklch(0.727 0.116 191.6) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?