HSL to HEX: #48D1CC
Also known as: CSS mediumturquoise
Result
hsl(177.81 59.83% 55.10%) → #48D1CC
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. input
H = 177.81°, S = 59.83%, L = 55.10%
2. C
C = (1 − |2L − 1|) × S = 0.53727
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.51766 (H / 60° = 2.9635, sector 2)
4. m
m = L − C / 2 = 0.28236
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.00000, 0.53727, 0.51766) R = round((0.00000 + 0.28236) × 255) = 72 G = round((0.53727 + 0.28236) × 255) = 209 B = round((0.51766 + 0.28236) × 255) = 204
6. RGB → HEX
#48D1CC
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?