#E042A8#E042A8

#E042A8 is a light, highly saturated pink. Relative luminance 0.226; OKLCH L 63.8% C 0.217 H 345.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#E042A8
RGBrgb(224, 66, 168)
HSLhsl(321, 72%, 57%)
HSVhsv(321, 71%, 88%)
CMYKcmyk(0%, 70.5%, 25%, 12.2%)
CIE-LABlab(54.63, 69.49, -20.62)
CIE-LCHlch(54.63, 72.49, 343.47°)
OKLaboklab(63.76% 0.2103 -0.0548)
OKLCHoklch(63.76% 0.217 345.4)
XYZxyz(39.7582, 22.5751, 39.3018)
Luminance0.2257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E042A8 #42E07A
analogous
#C942E0 #E042A8 #E04259
triadic
#E042A8 #A8E042 #42A8E0
tetradic
#E042A8 #E0C942 #42E07A #4259E0
square
#E042A8 #E0C942 #42E07A #4259E0
split-complementary
#E042A8 #59E042 #42E0C9
monochromatic
#901865 #C5208A #E042A8 #E977C0 #F1ABD8

Accessibility & contrast

On white

3.81
#E042A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#E042A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E042A8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E042A8#FFFFFF#000000##000000
##E042A81.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5572AB
Deuteranopia (green-blind)
#848CA4
Tritanopia (blue-blind)
#EF3F6F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #e042a8;
/* rgb */ color: rgb(224, 66, 168);
/* oklch */ color: oklch(63.8% 0.217 345.4);
Tailwind
colors: {
  custom: {
    50: '#ee83c2',
    500: '#e042a8',
    950: '#000000',
  },
}
SCSS
$custom: #e042a8;
$custom-light: #ee83c2;
$custom-dark: #000000;
JSON
{
  "hex": "#e042a8",
  "rgb": {
    "r": 224,
    "g": 66,
    "b": 168
  },
  "hsl": {
    "h": 321.266,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63763,
    "c": 0.21731,
    "h": 345.4
  },
  "luminance": 0.22571
}

Semantic roles & 50–950 ramp

primary
#E042A8
secondary
#9FDFB6
accent
#EF7A39
background
#FFF8FB
surface
#FEF0F7
border
#D6CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #E042A8

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

Preview Lab → · Contrast checker → · Palette generator →

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