#E042C1#E042C1

#E042C1 is a light, highly saturated pink. Relative luminance 0.236; OKLCH L 64.9% C 0.233 H 337.0°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#E042C1
RGBrgb(224, 66, 193)
HSLhsl(312, 72%, 57%)
HSVhsv(312, 71%, 88%)
CMYKcmyk(0%, 70.5%, 13.8%, 12.2%)
CIE-LABlab(55.68, 72.81, -33.51)
CIE-LCHlch(55.68, 80.15, 335.29°)
OKLaboklab(64.87% 0.2143 -0.0911)
OKLCHoklch(64.87% 0.233 337)
XYZxyz(42.3151, 23.5978, 52.7680)
Luminance0.2359 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E042C1 #42E061
analogous
#B042E0 #E042C1 #E04272
triadic
#E042C1 #C1E042 #42C1E0
tetradic
#E042C1 #E0B042 #42E061 #4272E0
square
#E042C1 #E0B042 #42E061 #4272E0
split-complementary
#E042C1 #72E042 #42E0B0
monochromatic
#901878 #C520A4 #E042C1 #E977D2 #F1ABE3

Accessibility & contrast

On white

3.67
#E042C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#E042C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E042C1
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E042C1#FFFFFF#000000##000000
##E042C11.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4676C5
Deuteranopia (green-blind)
#7B8EBD
Tritanopia (blue-blind)
#EC4B7C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #e042c1;
/* rgb */ color: rgb(224, 66, 193);
/* oklch */ color: oklch(64.9% 0.233 337.0);
Tailwind
colors: {
  custom: {
    50: '#ee84d4',
    500: '#e042c1',
    950: '#000000',
  },
}
SCSS
$custom: #e042c1;
$custom-light: #ee84d4;
$custom-dark: #000000;
JSON
{
  "hex": "#e042c1",
  "rgb": {
    "r": 224,
    "g": 66,
    "b": 193
  },
  "hsl": {
    "h": 311.772,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.6487,
    "c": 0.23282,
    "h": 337
  },
  "luminance": 0.23594
}

Semantic roles & 50–950 ramp

primary
#E042C1
secondary
#9FDFAB
accent
#EF5D39
background
#FFF8FD
surface
#FEF0FA
border
#D6CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #E042C1

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

Preview Lab → · Contrast checker → · Palette generator →

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