#E042C7#E042C7

#E042C7 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 65.2% C 0.237 H 335.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#E042C7
RGBrgb(224, 66, 199)
HSLhsl(309, 72%, 57%)
HSVhsv(309, 71%, 88%)
CMYKcmyk(0%, 70.5%, 11.2%, 12.2%)
CIE-LABlab(55.96, 73.67, -36.52)
CIE-LCHlch(55.96, 82.22, 333.63°)
OKLaboklab(65.16% 0.2149 -0.0997)
OKLCHoklch(65.16% 0.237 335.1)
XYZxyz(42.9980, 23.8710, 56.3647)
Luminance0.2387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E042C7 #42E05B
analogous
#AA42E0 #E042C7 #E04278
triadic
#E042C7 #C7E042 #42C7E0
tetradic
#E042C7 #E0AA42 #42E05B #4278E0
square
#E042C7 #E0AA42 #42E05B #4278E0
split-complementary
#E042C7 #78E042 #42E0AA
monochromatic
#90187D #C520AB #E042C7 #E977D7 #F1ABE6

Accessibility & contrast

On white

3.64
#E042C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#E042C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E042C7
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E042C7#FFFFFF#000000##000000
##E042C71.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4277CB
Deuteranopia (green-blind)
#798EC3
Tritanopia (blue-blind)
#EB4E80
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #e042c7;
/* rgb */ color: rgb(224, 66, 199);
/* oklch */ color: oklch(65.2% 0.237 335.1);
Tailwind
colors: {
  custom: {
    50: '#ee84d8',
    500: '#e042c7',
    950: '#000000',
  },
}
SCSS
$custom: #e042c7;
$custom-light: #ee84d8;
$custom-dark: #000000;
JSON
{
  "hex": "#e042c7",
  "rgb": {
    "r": 224,
    "g": 66,
    "b": 199
  },
  "hsl": {
    "h": 309.494,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.65159,
    "c": 0.23688,
    "h": 335.1
  },
  "luminance": 0.23867
}

Semantic roles & 50–950 ramp

primary
#E042C7
secondary
#9FDFA9
accent
#EF5639
background
#FFF8FD
surface
#FEF0FA
border
#D6CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #E042C7

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

Preview Lab → · Contrast checker → · Palette generator →

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