HEX to HSL: #E60076
Also known as: Tailwind pink-600
Result
#E60076 → hsl(329 100% 45%)
Values are shown at full precision, so converting back gives exactly #e60076. 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.9020 G = 0.0000 B = 0.4627
2. max, min, Δ
max = 0.9020 min = 0.0000 Δ = max − min = 0.9020
3. L
L = (max + min) / 2 = 0.4510 = 45.10%
4. S
S = Δ / (1 − |2L − 1|) = 1.0000 = 100.00%
5. H
max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.0000 − 0.4627) / 0.9020) mod 6) = 329.22°
6. HSL
hsl(329.22 100.00% 45.10%)
All formats
- HEX
- #e60076
- RGB
- rgb(230 0 118)
- RGB (legacy)
- rgb(230, 0, 118)
- HSL
- hsl(329.22 100.00% 45.10%) → hsl(329 100% 45%)
- HWB
- hwb(329 0% 10%)
- OKLCH
- oklch(0.598 0.242 1.4) · oklch(59.8% 0.242 1.4)
- OKLab
- oklab(0.598 0.242 0.006)
- Lab (D50)
- lab(50.34 77.70 3.55)
- LCH (D50)
- lch(50.34 77.79 2.62)
- Display P3
- color(display-p3 0.8271 0.1766 0.4595)
- Linear sRGB
- color(srgb-linear 0.7913 0.0000 0.1812)
Gamut: sRGB and Display P3
#E60076 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.242 and Display P3 reaches 0.272; this color uses 100% of the sRGB chroma available.
CSS snippets
.element {
color: #e60076;
color: rgb(230 0 118);
color: hsl(329 100% 45%);
color: oklch(0.598 0.242 1.4);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.598 0.242 1.4);
}
/* arbitrary values */
class="text-[#e60076] bg-[oklch(0.598_0.242_1.4)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.8271 0.1766 0.4595); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #e60076 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 pink-600#DB2777
- deeppink#FF1493
- pink-500#F6339A
- mediumvioletred#C71585
- v3 rose-600#E11D48
- v3 pink-500#EC4899
- pink-700#C6005C
- rose-600#EC003F
Lighter and darker, same hue and chroma
- #FC2F88 · oklch(0.658 0.242 1.4) · ΔL +0.06
- #D00065 · oklch(0.538 0.242 1.4) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?