#E040B4#E040B4

#E040B4 is a light, highly saturated pink. Relative luminance 0.228; OKLCH L 64.1% C 0.227 H 341.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#E040B4
RGBrgb(224, 64, 180)
HSLhsl(317, 72%, 56%)
HSVhsv(317, 71%, 88%)
CMYKcmyk(0%, 71.4%, 19.6%, 12.2%)
CIE-LABlab(54.88, 71.70, -27.24)
CIE-LCHlch(54.88, 76.70, 339.20°)
OKLaboklab(64.1% 0.2145 -0.0733)
OKLCHoklch(64.1% 0.227 341.1)
XYZxyz(40.8133, 22.8134, 45.4252)
Luminance0.2281 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E040B4 #40E06C
analogous
#BC40E0 #E040B4 #E04064
triadic
#E040B4 #B4E040 #40B4E0
tetradic
#E040B4 #E0BC40 #40E06C #4064E0
square
#E040B4 #E0BC40 #40E06C #4064E0
split-complementary
#E040B4 #64E040 #40E0BC
monochromatic
#8E176E #C32096 #E040B4 #E975C9 #F1A9DD

Accessibility & contrast

On white

3.78
#E040B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#E040B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E040B4
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E040B4#FFFFFF#000000##000000
##E040B41.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D73B7
Deuteranopia (green-blind)
#7F8DB0
Tritanopia (blue-blind)
#ED4375
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #e040b4;
/* rgb */ color: rgb(224, 64, 180);
/* oklch */ color: oklch(64.1% 0.227 341.1);
Tailwind
colors: {
  custom: {
    50: '#ee82ca',
    500: '#e040b4',
    950: '#000000',
  },
}
SCSS
$custom: #e040b4;
$custom-light: #ee82ca;
$custom-dark: #000000;
JSON
{
  "hex": "#e040b4",
  "rgb": {
    "r": 224,
    "g": 64,
    "b": 180
  },
  "hsl": {
    "h": 316.5,
    "s": 72.072,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64102,
    "c": 0.22668,
    "h": 341.1
  },
  "luminance": 0.22809
}

Semantic roles & 50–950 ramp

primary
#E040B4
secondary
#9DDFAF
accent
#EF6B39
background
#FFF8FC
surface
#FEF0F8
border
#D6CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #E040B4

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

Preview Lab → · Contrast checker → · Palette generator →

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