#E04EC5#E04EC5

#E04EC5 is a light, highly saturated pink. Relative luminance 0.253; OKLCH L 66.2% C 0.221 H 336.0°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#E04EC5
RGBrgb(224, 78, 197)
HSLhsl(311, 70%, 59%)
HSVhsv(311, 65%, 88%)
CMYKcmyk(0%, 65.2%, 12.1%, 12.2%)
CIE-LABlab(57.40, 69.08, -33.13)
CIE-LCHlch(57.40, 76.62, 334.38°)
OKLaboklab(66.17% 0.202 -0.0901)
OKLCHoklch(66.17% 0.221 336)
XYZxyz(43.5434, 25.3310, 55.4085)
Luminance0.2533 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E04EC5 #4EE069
analogous
#B24EE0 #E04EC5 #E04E7C
triadic
#E04EC5 #C5E04E #4EC5E0
tetradic
#E04EC5 #E0B24E #4EE069 #4E7CE0
square
#E04EC5 #E0B24E #4EE069 #4E7CE0
split-complementary
#E04EC5 #7CE04E #4EE0B2
monochromatic
#991B82 #CD24AE #E04EC5 #E982D6 #F2B6E7

Accessibility & contrast

On white

3.46
#E04EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#E04EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E04EC5
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E04EC5#FFFFFF#000000##000000
##E04EC51.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#507CC8
Deuteranopia (green-blind)
#7F92C1
Tritanopia (blue-blind)
#EB5783
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #e04ec5;
/* rgb */ color: rgb(224, 78, 197);
/* oklch */ color: oklch(66.2% 0.221 336.0);
Tailwind
colors: {
  custom: {
    50: '#ed8ad7',
    500: '#e04ec5',
    950: '#000000',
  },
}
SCSS
$custom: #e04ec5;
$custom-light: #ed8ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#e04ec5",
  "rgb": {
    "r": 224,
    "g": 78,
    "b": 197
  },
  "hsl": {
    "h": 311.096,
    "s": 70.192,
    "l": 59.216
  },
  "oklch": {
    "l": 0.66172,
    "c": 0.22115,
    "h": 336
  },
  "luminance": 0.25327
}

Semantic roles & 50–950 ramp

primary
#E04EC5
secondary
#A8E1B3
accent
#ED5C3B
background
#FFF8FD
surface
#FEF0FA
border
#D6CBD3
text
#170D14
muted
#857D83

Preview Lab

Preview with #E04EC5

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#E04EC5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva