#E042B7#E042B7

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

Color values

HEX#E042B7
RGBrgb(224, 66, 183)
HSLhsl(316, 72%, 57%)
HSVhsv(316, 71%, 88%)
CMYKcmyk(0%, 70.5%, 18.3%, 12.2%)
CIE-LABlab(55.24, 71.43, -28.41)
CIE-LCHlch(55.24, 76.88, 338.31°)
OKLaboklab(64.41% 0.2129 -0.0766)
OKLCHoklch(64.41% 0.226 340.2)
XYZxyz(41.2370, 23.1666, 47.0904)
Luminance0.2316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E042B7 #42E06B
analogous
#BA42E0 #E042B7 #E04268
triadic
#E042B7 #B7E042 #42B7E0
tetradic
#E042B7 #E0BA42 #42E06B #4268E0
square
#E042B7 #E0BA42 #42E06B #4268E0
split-complementary
#E042B7 #68E042 #42E0BA
monochromatic
#901871 #C5209A #E042B7 #E977CB #F1ABDF

Accessibility & contrast

On white

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

On black

5.63
#E042B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E042B7
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E042B7#FFFFFF#000000##000000
##E042B71.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D74BA
Deuteranopia (green-blind)
#7F8DB3
Tritanopia (blue-blind)
#ED4777
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #e042b7;
/* rgb */ color: rgb(224, 66, 183);
/* oklch */ color: oklch(64.4% 0.226 340.2);
Tailwind
colors: {
  custom: {
    50: '#ee83cd',
    500: '#e042b7',
    950: '#000000',
  },
}
SCSS
$custom: #e042b7;
$custom-light: #ee83cd;
$custom-dark: #000000;
JSON
{
  "hex": "#e042b7",
  "rgb": {
    "r": 224,
    "g": 66,
    "b": 183
  },
  "hsl": {
    "h": 315.57,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64408,
    "c": 0.22631,
    "h": 340.2
  },
  "luminance": 0.23163
}

Semantic roles & 50–950 ramp

primary
#E042B7
secondary
#9FDFAF
accent
#EF6839
background
#FFF8FC
surface
#FEF0F9
border
#D6CBD2
text
#170C13
muted
#857D82

Preview Lab

Preview with #E042B7

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

Preview Lab → · Contrast checker → · Palette generator →

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