#E042C4#E042C4

#E042C4 is a light, highly saturated pink. Relative luminance 0.237; OKLCH L 65.0% C 0.235 H 336.0°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#E042C4
RGBrgb(224, 66, 196)
HSLhsl(311, 72%, 57%)
HSVhsv(311, 71%, 88%)
CMYKcmyk(0%, 70.5%, 12.5%, 12.2%)
CIE-LABlab(55.82, 73.24, -35.02)
CIE-LCHlch(55.82, 81.18, 334.45°)
OKLaboklab(65.01% 0.2146 -0.0954)
OKLCHoklch(65.01% 0.235 336)
XYZxyz(42.6531, 23.7330, 54.5484)
Luminance0.2373 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E042C4 #42E05E
analogous
#AD42E0 #E042C4 #E04275
triadic
#E042C4 #C4E042 #42C4E0
tetradic
#E042C4 #E0AD42 #42E05E #4275E0
square
#E042C4 #E0AD42 #42E05E #4275E0
split-complementary
#E042C4 #75E042 #42E0AD
monochromatic
#90187B #C520A7 #E042C4 #E977D4 #F1ABE5

Accessibility & contrast

On white

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

On black

5.75
#E042C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E042C4
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E042C4#FFFFFF#000000##000000
##E042C41.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4477C8
Deuteranopia (green-blind)
#7A8EC0
Tritanopia (blue-blind)
#EB4D7E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #e042c4;
/* rgb */ color: rgb(224, 66, 196);
/* oklch */ color: oklch(65.0% 0.235 336.0);
Tailwind
colors: {
  custom: {
    50: '#ee84d6',
    500: '#e042c4',
    950: '#000000',
  },
}
SCSS
$custom: #e042c4;
$custom-light: #ee84d6;
$custom-dark: #000000;
JSON
{
  "hex": "#e042c4",
  "rgb": {
    "r": 224,
    "g": 66,
    "b": 196
  },
  "hsl": {
    "h": 310.633,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.65013,
    "c": 0.23484,
    "h": 336
  },
  "luminance": 0.23729
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E042C4

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

Preview Lab → · Contrast checker → · Palette generator →

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