#E042C6#E042C6

#E042C6 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 65.1% C 0.236 H 335.4°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#E042C6
RGBrgb(224, 66, 198)
HSLhsl(310, 72%, 57%)
HSVhsv(310, 71%, 88%)
CMYKcmyk(0%, 70.5%, 11.6%, 12.2%)
CIE-LABlab(55.91, 73.52, -36.02)
CIE-LCHlch(55.91, 81.87, 333.90°)
OKLaboklab(65.11% 0.2148 -0.0983)
OKLCHoklch(65.11% 0.236 335.4)
XYZxyz(42.8823, 23.8247, 55.7553)
Luminance0.2382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E042C6 #42E05C
analogous
#AB42E0 #E042C6 #E04277
triadic
#E042C6 #C6E042 #42C6E0
tetradic
#E042C6 #E0AB42 #42E05C #4277E0
square
#E042C6 #E0AB42 #42E05C #4277E0
split-complementary
#E042C6 #77E042 #42E0AB
monochromatic
#90187C #C520AA #E042C6 #E977D6 #F1ABE6

Accessibility & contrast

On white

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

On black

5.76
#E042C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E042C6
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E042C6#FFFFFF#000000##000000
##E042C61.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4277CA
Deuteranopia (green-blind)
#798EC2
Tritanopia (blue-blind)
#EB4E7F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #e042c6;
/* rgb */ color: rgb(224, 66, 198);
/* oklch */ color: oklch(65.1% 0.236 335.4);
Tailwind
colors: {
  custom: {
    50: '#ee84d7',
    500: '#e042c6',
    950: '#000000',
  },
}
SCSS
$custom: #e042c6;
$custom-light: #ee84d7;
$custom-dark: #000000;
JSON
{
  "hex": "#e042c6",
  "rgb": {
    "r": 224,
    "g": 66,
    "b": 198
  },
  "hsl": {
    "h": 309.873,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.6511,
    "c": 0.2362,
    "h": 335.4
  },
  "luminance": 0.23821
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E042C6

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

Preview Lab → · Contrast checker → · Palette generator →

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