#E040B7#E040B7

#E040B7 is a light, highly saturated pink. Relative luminance 0.229; OKLCH L 64.2% C 0.229 H 340.1°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#E040B7
RGBrgb(224, 64, 183)
HSLhsl(315, 72%, 56%)
HSVhsv(315, 71%, 88%)
CMYKcmyk(0%, 71.4%, 18.3%, 12.2%)
CIE-LABlab(55.01, 72.10, -28.78)
CIE-LCHlch(55.01, 77.63, 338.24°)
OKLaboklab(64.24% 0.215 -0.0776)
OKLCHoklch(64.24% 0.229 340.1)
XYZxyz(41.1222, 22.9370, 47.0521)
Luminance0.2293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E040B7 #40E069
analogous
#B940E0 #E040B7 #E04067
triadic
#E040B7 #B7E040 #40B7E0
tetradic
#E040B7 #E0B940 #40E069 #4067E0
square
#E040B7 #E0B940 #40E069 #4067E0
split-complementary
#E040B7 #67E040 #40E0B9
monochromatic
#8E1770 #C32099 #E040B7 #E975CB #F1A9DF

Accessibility & contrast

On white

3.76
#E040B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#E040B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E040B7
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E040B7#FFFFFF#000000##000000
##E040B71.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e040b7;
/* rgb */ color: rgb(224, 64, 183);
/* oklch */ color: oklch(64.2% 0.229 340.1);
Tailwind
colors: {
  custom: {
    50: '#ee83cd',
    500: '#e040b7',
    950: '#000000',
  },
}
SCSS
$custom: #e040b7;
$custom-light: #ee83cd;
$custom-dark: #000000;
JSON
{
  "hex": "#e040b7",
  "rgb": {
    "r": 224,
    "g": 64,
    "b": 183
  },
  "hsl": {
    "h": 315.375,
    "s": 72.072,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64236,
    "c": 0.22855,
    "h": 340.1
  },
  "luminance": 0.22933
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E040B7

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

Preview Lab → · Contrast checker → · Palette generator →

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