#E042B4#E042B4

#E042B4 is a light, highly saturated pink. Relative luminance 0.230; OKLCH L 64.3% C 0.224 H 341.2°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#E042B4
RGBrgb(224, 66, 180)
HSLhsl(317, 72%, 57%)
HSVhsv(317, 71%, 88%)
CMYKcmyk(0%, 70.5%, 19.6%, 12.2%)
CIE-LABlab(55.12, 71.03, -26.87)
CIE-LCHlch(55.12, 75.95, 339.28°)
OKLaboklab(64.27% 0.2125 -0.0723)
OKLCHoklch(64.27% 0.224 341.2)
XYZxyz(40.9281, 23.0430, 45.4634)
Luminance0.2304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E042B4 #42E06E
analogous
#BD42E0 #E042B4 #E04265
triadic
#E042B4 #B4E042 #42B4E0
tetradic
#E042B4 #E0BD42 #42E06E #4265E0
square
#E042B4 #E0BD42 #42E06E #4265E0
split-complementary
#E042B4 #65E042 #42E0BD
monochromatic
#90186E #C52097 #E042B4 #E977C9 #F1ABDE

Accessibility & contrast

On white

3.74
#E042B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#E042B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E042B4
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E042B4#FFFFFF#000000##000000
##E042B41.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F74B7
Deuteranopia (green-blind)
#808DB0
Tritanopia (blue-blind)
#ED4576
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #e042b4;
/* rgb */ color: rgb(224, 66, 180);
/* oklch */ color: oklch(64.3% 0.224 341.2);
Tailwind
colors: {
  custom: {
    50: '#ee83ca',
    500: '#e042b4',
    950: '#000000',
  },
}
SCSS
$custom: #e042b4;
$custom-light: #ee83ca;
$custom-dark: #000000;
JSON
{
  "hex": "#e042b4",
  "rgb": {
    "r": 224,
    "g": 66,
    "b": 180
  },
  "hsl": {
    "h": 316.709,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64274,
    "c": 0.22443,
    "h": 341.2
  },
  "luminance": 0.23039
}

Semantic roles & 50–950 ramp

primary
#E042B4
secondary
#9FDFB1
accent
#EF6C39
background
#FFF8FC
surface
#FEF0F8
border
#D6CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #E042B4

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

Preview Lab → · Contrast checker → · Palette generator →

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