#E040B5#E040B5

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

Color values

HEX#E040B5
RGBrgb(224, 64, 181)
HSLhsl(316, 72%, 56%)
HSVhsv(316, 71%, 88%)
CMYKcmyk(0%, 71.4%, 19.2%, 12.2%)
CIE-LABlab(54.92, 71.83, -27.75)
CIE-LCHlch(54.92, 77.01, 338.88°)
OKLaboklab(64.15% 0.2147 -0.0747)
OKLCHoklch(64.15% 0.227 340.8)
XYZxyz(40.9155, 22.8543, 45.9636)
Luminance0.2285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E040B5 #40E06B
analogous
#BB40E0 #E040B5 #E04065
triadic
#E040B5 #B5E040 #40B5E0
tetradic
#E040B5 #E0BB40 #40E06B #4065E0
square
#E040B5 #E0BB40 #40E06B #4065E0
split-complementary
#E040B5 #65E040 #40E0BB
monochromatic
#8E176E #C32097 #E040B5 #E975C9 #F1A9DE

Accessibility & contrast

On white

3.77
#E040B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#E040B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E040B5
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E040B5#FFFFFF#000000##000000
##E040B51.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C73B8
Deuteranopia (green-blind)
#7F8DB1
Tritanopia (blue-blind)
#ED4475
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #e040b5;
/* rgb */ color: rgb(224, 64, 181);
/* oklch */ color: oklch(64.1% 0.227 340.8);
Tailwind
colors: {
  custom: {
    50: '#ee83cb',
    500: '#e040b5',
    950: '#000000',
  },
}
SCSS
$custom: #e040b5;
$custom-light: #ee83cb;
$custom-dark: #000000;
JSON
{
  "hex": "#e040b5",
  "rgb": {
    "r": 224,
    "g": 64,
    "b": 181
  },
  "hsl": {
    "h": 316.125,
    "s": 72.072,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64147,
    "c": 0.22731,
    "h": 340.8
  },
  "luminance": 0.2285
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E040B5

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

Preview Lab → · Contrast checker → · Palette generator →

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