HEX to RGB: #E60076

Also known as: Tailwind pink-600

Result

#E60076 → rgb(230 0 118)

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. 1. HEX → pairs

    #E60076 → E6 | 00 | 76
  2. 2. base 16 → base 10

    R = E6₁₆ = 14×16 + 6 = 230
    G = 00₁₆ = 0×16 + 0 = 0
    B = 76₁₆ = 7×16 + 6 = 118
  3. 3. RGB

    rgb(230 0 118)

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).

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

All converters →

Guides: What is OKLCH?