#E042B5#E042B5

#E042B5 is a light, highly saturated pink. Relative luminance 0.231; OKLCH L 64.3% C 0.225 H 340.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#E042B5
RGBrgb(224, 66, 181)
HSLhsl(316, 72%, 57%)
HSVhsv(316, 71%, 88%)
CMYKcmyk(0%, 70.5%, 19.2%, 12.2%)
CIE-LABlab(55.16, 71.17, -27.39)
CIE-LCHlch(55.16, 76.25, 338.95°)
OKLaboklab(64.32% 0.2126 -0.0737)
OKLCHoklch(64.32% 0.225 340.9)
XYZxyz(41.0304, 23.0839, 46.0019)
Luminance0.2308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E042B5 #42E06D
analogous
#BC42E0 #E042B5 #E04266
triadic
#E042B5 #B5E042 #42B5E0
tetradic
#E042B5 #E0BC42 #42E06D #4266E0
square
#E042B5 #E0BC42 #42E06D #4266E0
split-complementary
#E042B5 #66E042 #42E0BC
monochromatic
#90186F #C52098 #E042B5 #E977CA #F1ABDE

Accessibility & contrast

On white

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

On black

5.62
#E042B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E042B5
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E042B5#FFFFFF#000000##000000
##E042B51.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E74B8
Deuteranopia (green-blind)
#808DB1
Tritanopia (blue-blind)
#ED4676
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #e042b5;
/* rgb */ color: rgb(224, 66, 181);
/* oklch */ color: oklch(64.3% 0.225 340.9);
Tailwind
colors: {
  custom: {
    50: '#ee83cb',
    500: '#e042b5',
    950: '#000000',
  },
}
SCSS
$custom: #e042b5;
$custom-light: #ee83cb;
$custom-dark: #000000;
JSON
{
  "hex": "#e042b5",
  "rgb": {
    "r": 224,
    "g": 66,
    "b": 181
  },
  "hsl": {
    "h": 316.329,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64319,
    "c": 0.22506,
    "h": 340.9
  },
  "luminance": 0.2308
}

Semantic roles & 50–950 ramp

primary
#E042B5
secondary
#9FDFB0
accent
#EF6B39
background
#FFF8FC
surface
#FEF0F8
border
#D6CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #E042B5

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

Preview Lab → · Contrast checker → · Palette generator →

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