#E042C5#E042C5

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

Color values

HEX#E042C5
RGBrgb(224, 66, 197)
HSLhsl(310, 72%, 57%)
HSVhsv(310, 71%, 88%)
CMYKcmyk(0%, 70.5%, 12.1%, 12.2%)
CIE-LABlab(55.87, 73.38, -35.52)
CIE-LCHlch(55.87, 81.52, 334.17°)
OKLaboklab(65.06% 0.2147 -0.0968)
OKLCHoklch(65.06% 0.236 335.7)
XYZxyz(42.7673, 23.7787, 55.1498)
Luminance0.2377 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E042C5 #42E05D
analogous
#AC42E0 #E042C5 #E04276
triadic
#E042C5 #C5E042 #42C5E0
tetradic
#E042C5 #E0AC42 #42E05D #4276E0
square
#E042C5 #E0AC42 #42E05D #4276E0
split-complementary
#E042C5 #76E042 #42E0AC
monochromatic
#90187B #C520A8 #E042C5 #E977D5 #F1ABE5

Accessibility & contrast

On white

3.65
#E042C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##E042C5#FFFFFF#000000##000000
##E042C51.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4377C9
Deuteranopia (green-blind)
#7A8EC1
Tritanopia (blue-blind)
#EB4D7F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #e042c5;
/* rgb */ color: rgb(224, 66, 197);
/* oklch */ color: oklch(65.1% 0.236 335.7);
Tailwind
colors: {
  custom: {
    50: '#ee84d7',
    500: '#e042c5',
    950: '#000000',
  },
}
SCSS
$custom: #e042c5;
$custom-light: #ee84d7;
$custom-dark: #000000;
JSON
{
  "hex": "#e042c5",
  "rgb": {
    "r": 224,
    "g": 66,
    "b": 197
  },
  "hsl": {
    "h": 310.253,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.65061,
    "c": 0.23552,
    "h": 335.7
  },
  "luminance": 0.23775
}

Semantic roles & 50–950 ramp

primary
#E042C5
secondary
#9FDFAA
accent
#EF5839
background
#FFF8FD
surface
#FEF0FA
border
#D6CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #E042C5

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

Preview Lab → · Contrast checker → · Palette generator →

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