#E04EC2#E04EC2

#E04EC2 is a light, highly saturated pink. Relative luminance 0.252; OKLCH L 66.0% C 0.219 H 336.9°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#E04EC2
RGBrgb(224, 78, 194)
HSLhsl(312, 70%, 59%)
HSVhsv(312, 65%, 88%)
CMYKcmyk(0%, 65.2%, 13.4%, 12.2%)
CIE-LABlab(57.26, 68.64, -31.62)
CIE-LCHlch(57.26, 75.57, 335.27°)
OKLaboklab(66.03% 0.2016 -0.0858)
OKLCHoklch(66.03% 0.219 336.9)
XYZxyz(43.2031, 25.1948, 53.6162)
Luminance0.2519 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E04EC2 #4EE06C
analogous
#B54EE0 #E04EC2 #E04E79
triadic
#E04EC2 #C2E04E #4EC2E0
tetradic
#E04EC2 #E0B54E #4EE06C #4E79E0
square
#E04EC2 #E0B54E #4EE06C #4E79E0
split-complementary
#E04EC2 #79E04E #4EE0B5
monochromatic
#991B7F #CD24AA #E04EC2 #E982D4 #F2B6E6

Accessibility & contrast

On white

3.48
#E04EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#E04EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E04EC2
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E04EC2#FFFFFF#000000##000000
##E04EC21.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#517BC5
Deuteranopia (green-blind)
#8092BE
Tritanopia (blue-blind)
#EB5681
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #e04ec2;
/* rgb */ color: rgb(224, 78, 194);
/* oklch */ color: oklch(66.0% 0.219 336.9);
Tailwind
colors: {
  custom: {
    50: '#ed8ad4',
    500: '#e04ec2',
    950: '#000000',
  },
}
SCSS
$custom: #e04ec2;
$custom-light: #ed8ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#e04ec2",
  "rgb": {
    "r": 224,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 312.329,
    "s": 70.192,
    "l": 59.216
  },
  "oklch": {
    "l": 0.66033,
    "c": 0.21906,
    "h": 336.9
  },
  "luminance": 0.25191
}

Semantic roles & 50–950 ramp

primary
#E04EC2
secondary
#A8E1B4
accent
#ED5F3B
background
#FFF8FD
surface
#FEF0FA
border
#D6CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #E04EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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