#E04EC7#E04EC7

#E04EC7 is a light, highly saturated pink. Relative luminance 0.254; OKLCH L 66.3% C 0.223 H 335.3°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#E04EC7
RGBrgb(224, 78, 199)
HSLhsl(310, 70%, 59%)
HSVhsv(310, 65%, 88%)
CMYKcmyk(0%, 65.2%, 11.2%, 12.2%)
CIE-LABlab(57.49, 69.38, -34.13)
CIE-LCHlch(57.49, 77.32, 333.80°)
OKLaboklab(66.27% 0.2022 -0.093)
OKLCHoklch(66.27% 0.223 335.3)
XYZxyz(43.7741, 25.4232, 56.6235)
Luminance0.2542 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E04EC7 #4EE067
analogous
#B04EE0 #E04EC7 #E04E7E
triadic
#E04EC7 #C7E04E #4EC7E0
tetradic
#E04EC7 #E0B04E #4EE067 #4E7EE0
square
#E04EC7 #E0B04E #4EE067 #4E7EE0
split-complementary
#E04EC7 #7EE04E #4EE0B0
monochromatic
#991B83 #CD24B0 #E04EC7 #E982D7 #F2B6E8

Accessibility & contrast

On white

3.45
#E04EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#E04EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E04EC7
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E04EC7#FFFFFF#000000##000000
##E04EC71.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7CCB
Deuteranopia (green-blind)
#7E92C3
Tritanopia (blue-blind)
#EB5884
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #e04ec7;
/* rgb */ color: rgb(224, 78, 199);
/* oklch */ color: oklch(66.3% 0.223 335.3);
Tailwind
colors: {
  custom: {
    50: '#ed8ad8',
    500: '#e04ec7',
    950: '#000000',
  },
}
SCSS
$custom: #e04ec7;
$custom-light: #ed8ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#e04ec7",
  "rgb": {
    "r": 224,
    "g": 78,
    "b": 199
  },
  "hsl": {
    "h": 310.274,
    "s": 70.192,
    "l": 59.216
  },
  "oklch": {
    "l": 0.66266,
    "c": 0.22256,
    "h": 335.3
  },
  "luminance": 0.2542
}

Semantic roles & 50–950 ramp

primary
#E04EC7
secondary
#A8E1B2
accent
#ED593B
background
#FFF8FD
surface
#FEF0FA
border
#D6CBD3
text
#170D14
muted
#857D83

Preview Lab

Preview with #E04EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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