#E042B6#E042B6

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

Color values

HEX#E042B6
RGBrgb(224, 66, 182)
HSLhsl(316, 72%, 57%)
HSVhsv(316, 71%, 88%)
CMYKcmyk(0%, 70.5%, 18.7%, 12.2%)
CIE-LABlab(55.20, 71.30, -27.90)
CIE-LCHlch(55.20, 76.56, 338.63°)
OKLaboklab(64.36% 0.2128 -0.0752)
OKLCHoklch(64.36% 0.226 340.5)
XYZxyz(41.1333, 23.1251, 46.5442)
Luminance0.2312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E042B6 #42E06C
analogous
#BB42E0 #E042B6 #E04267
triadic
#E042B6 #B6E042 #42B6E0
tetradic
#E042B6 #E0BB42 #42E06C #4267E0
square
#E042B6 #E0BB42 #42E06C #4267E0
split-complementary
#E042B6 #67E042 #42E0BB
monochromatic
#901870 #C52099 #E042B6 #E977CA #F1ABDF

Accessibility & contrast

On white

3.73
#E042B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##E042B6#FFFFFF#000000##000000
##E042B61.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D74B9
Deuteranopia (green-blind)
#808DB2
Tritanopia (blue-blind)
#ED4677
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #e042b6;
/* rgb */ color: rgb(224, 66, 182);
/* oklch */ color: oklch(64.4% 0.226 340.5);
Tailwind
colors: {
  custom: {
    50: '#ee83cc',
    500: '#e042b6',
    950: '#000000',
  },
}
SCSS
$custom: #e042b6;
$custom-light: #ee83cc;
$custom-dark: #000000;
JSON
{
  "hex": "#e042b6",
  "rgb": {
    "r": 224,
    "g": 66,
    "b": 182
  },
  "hsl": {
    "h": 315.949,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64363,
    "c": 0.22568,
    "h": 340.5
  },
  "luminance": 0.23121
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E042B6

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

Preview Lab → · Contrast checker → · Palette generator →

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