HEX to HSL: #48D1CC
Also known as: CSS mediumturquoise
Result
#48D1CC → hsl(178 60% 55%)
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. RGB ÷ 255
R = 0.2824 G = 0.8196 B = 0.8000
2. max, min, Δ
max = 0.8196 min = 0.2824 Δ = max − min = 0.5373
3. L
L = (max + min) / 2 = 0.5510 = 55.10%
4. S
S = Δ / (1 − |2L − 1|) = 0.5983 = 59.83%
5. H
max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.8000 − 0.2824) / 0.5373 + 2) = 177.81°
6. HSL
hsl(177.81 59.83% 55.10%)
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?