#E042C9#E042C9

#E042C9 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.3% C 0.238 H 334.5°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#E042C9
RGBrgb(224, 66, 201)
HSLhsl(309, 72%, 57%)
HSVhsv(309, 71%, 88%)
CMYKcmyk(0%, 70.5%, 10.3%, 12.2%)
CIE-LABlab(56.05, 73.96, -37.52)
CIE-LCHlch(56.05, 82.93, 333.10°)
OKLaboklab(65.26% 0.2151 -0.1026)
OKLCHoklch(65.26% 0.238 334.5)
XYZxyz(43.2317, 23.9645, 57.5957)
Luminance0.2396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E042C9 #42E059
analogous
#A842E0 #E042C9 #E0427A
triadic
#E042C9 #C9E042 #42C9E0
tetradic
#E042C9 #E0A842 #42E059 #427AE0
square
#E042C9 #E0A842 #42E059 #427AE0
split-complementary
#E042C9 #7AE042 #42E0A8
monochromatic
#90187E #C520AD #E042C9 #E977D8 #F1ABE7

Accessibility & contrast

On white

3.63
#E042C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#E042C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E042C9
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E042C9#FFFFFF#000000##000000
##E042C91.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4077CD
Deuteranopia (green-blind)
#788FC5
Tritanopia (blue-blind)
#EB4F81
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #e042c9;
/* rgb */ color: rgb(224, 66, 201);
/* oklch */ color: oklch(65.3% 0.238 334.5);
Tailwind
colors: {
  custom: {
    50: '#ee84da',
    500: '#e042c9',
    950: '#000000',
  },
}
SCSS
$custom: #e042c9;
$custom-light: #ee84da;
$custom-dark: #000000;
JSON
{
  "hex": "#e042c9",
  "rgb": {
    "r": 224,
    "g": 66,
    "b": 201
  },
  "hsl": {
    "h": 308.734,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.65257,
    "c": 0.23827,
    "h": 334.5
  },
  "luminance": 0.23961
}

Semantic roles & 50–950 ramp

primary
#E042C9
secondary
#9FDFA8
accent
#EF5439
background
#FFF8FD
surface
#FEF0FA
border
#D6CBD3
text
#170C15
muted
#857D83

Preview Lab

Preview with #E042C9

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

Preview Lab → · Contrast checker → · Palette generator →

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