#E042B8#E042B8

#E042B8 is a light, highly saturated pink. Relative luminance 0.232; OKLCH L 64.5% C 0.227 H 339.9°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#E042B8
RGBrgb(224, 66, 184)
HSLhsl(315, 72%, 57%)
HSVhsv(315, 71%, 88%)
CMYKcmyk(0%, 70.5%, 17.9%, 12.2%)
CIE-LABlab(55.29, 71.57, -28.93)
CIE-LCHlch(55.29, 77.19, 337.99°)
OKLaboklab(64.45% 0.2131 -0.0781)
OKLCHoklch(64.45% 0.227 339.9)
XYZxyz(41.3415, 23.2084, 47.6405)
Luminance0.2320 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E042B8 #42E06A
analogous
#B942E0 #E042B8 #E04269
triadic
#E042B8 #B8E042 #42B8E0
tetradic
#E042B8 #E0B942 #42E06A #4269E0
square
#E042B8 #E0B942 #42E06A #4269E0
split-complementary
#E042B8 #69E042 #42E0B9
monochromatic
#901872 #C5209B #E042B8 #E977CC #F1ABE0

Accessibility & contrast

On white

3.72
#E042B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#E042B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E042B8
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E042B8#FFFFFF#000000##000000
##E042B81.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C74BB
Deuteranopia (green-blind)
#7F8DB4
Tritanopia (blue-blind)
#ED4778
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #e042b8;
/* rgb */ color: rgb(224, 66, 184);
/* oklch */ color: oklch(64.5% 0.227 339.9);
Tailwind
colors: {
  custom: {
    50: '#ee84cd',
    500: '#e042b8',
    950: '#000000',
  },
}
SCSS
$custom: #e042b8;
$custom-light: #ee84cd;
$custom-dark: #000000;
JSON
{
  "hex": "#e042b8",
  "rgb": {
    "r": 224,
    "g": 66,
    "b": 184
  },
  "hsl": {
    "h": 315.19,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64453,
    "c": 0.22694,
    "h": 339.9
  },
  "luminance": 0.23204
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E042B8

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

Preview Lab → · Contrast checker → · Palette generator →

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