#E040B8#E040B8

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

Color values

HEX#E040B8
RGBrgb(224, 64, 184)
HSLhsl(315, 72%, 56%)
HSVhsv(315, 71%, 88%)
CMYKcmyk(0%, 71.4%, 17.9%, 12.2%)
CIE-LABlab(55.05, 72.23, -29.29)
CIE-LCHlch(55.05, 77.95, 337.93°)
OKLaboklab(64.28% 0.2151 -0.0791)
OKLCHoklch(64.28% 0.229 339.8)
XYZxyz(41.2267, 22.9788, 47.6022)
Luminance0.2298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E040B8 #40E068
analogous
#B840E0 #E040B8 #E04068
triadic
#E040B8 #B8E040 #40B8E0
tetradic
#E040B8 #E0B840 #40E068 #4068E0
square
#E040B8 #E0B840 #40E068 #4068E0
split-complementary
#E040B8 #68E040 #40E0B8
monochromatic
#8E1771 #C3209A #E040B8 #E975CC #F1A9DF

Accessibility & contrast

On white

3.75
#E040B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#E040B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E040B8
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E040B8#FFFFFF#000000##000000
##E040B81.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A74BB
Deuteranopia (green-blind)
#7E8DB4
Tritanopia (blue-blind)
#ED4577
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #e040b8;
/* rgb */ color: rgb(224, 64, 184);
/* oklch */ color: oklch(64.3% 0.229 339.8);
Tailwind
colors: {
  custom: {
    50: '#ee83cd',
    500: '#e040b8',
    950: '#000000',
  },
}
SCSS
$custom: #e040b8;
$custom-light: #ee83cd;
$custom-dark: #000000;
JSON
{
  "hex": "#e040b8",
  "rgb": {
    "r": 224,
    "g": 64,
    "b": 184
  },
  "hsl": {
    "h": 315,
    "s": 72.072,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64282,
    "c": 0.22919,
    "h": 339.8
  },
  "luminance": 0.22975
}

Semantic roles & 50–950 ramp

primary
#E040B8
secondary
#9DDFAD
accent
#EF6639
background
#FFF8FC
surface
#FEF0F9
border
#D6CBD2
text
#170C13
muted
#857D82

Preview Lab

Preview with #E040B8

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

Preview Lab → · Contrast checker → · Palette generator →

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