#E040B6#E040B6

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

Color values

HEX#E040B6
RGBrgb(224, 64, 182)
HSLhsl(316, 72%, 56%)
HSVhsv(316, 71%, 88%)
CMYKcmyk(0%, 71.4%, 18.7%, 12.2%)
CIE-LABlab(54.96, 71.97, -28.27)
CIE-LCHlch(54.96, 77.32, 338.56°)
OKLaboklab(64.19% 0.2148 -0.0762)
OKLCHoklch(64.19% 0.228 340.5)
XYZxyz(41.0185, 22.8955, 46.5059)
Luminance0.2289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E040B6 #40E06A
analogous
#BA40E0 #E040B6 #E04066
triadic
#E040B6 #B6E040 #40B6E0
tetradic
#E040B6 #E0BA40 #40E06A #4066E0
square
#E040B6 #E0BA40 #40E06A #4066E0
split-complementary
#E040B6 #66E040 #40E0BA
monochromatic
#8E176F #C32098 #E040B6 #E975CA #F1A9DE

Accessibility & contrast

On white

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

On black

5.58
#E040B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E040B6
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E040B6#FFFFFF#000000##000000
##E040B61.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C73B9
Deuteranopia (green-blind)
#7F8DB2
Tritanopia (blue-blind)
#ED4476
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #e040b6;
/* rgb */ color: rgb(224, 64, 182);
/* oklch */ color: oklch(64.2% 0.228 340.5);
Tailwind
colors: {
  custom: {
    50: '#ee83cc',
    500: '#e040b6',
    950: '#000000',
  },
}
SCSS
$custom: #e040b6;
$custom-light: #ee83cc;
$custom-dark: #000000;
JSON
{
  "hex": "#e040b6",
  "rgb": {
    "r": 224,
    "g": 64,
    "b": 182
  },
  "hsl": {
    "h": 315.75,
    "s": 72.072,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64191,
    "c": 0.22793,
    "h": 340.5
  },
  "luminance": 0.22891
}

Semantic roles & 50–950 ramp

primary
#E040B6
secondary
#9DDFAE
accent
#EF6939
background
#FFF8FC
surface
#FEF0F8
border
#D6CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #E040B6

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

Preview Lab → · Contrast checker → · Palette generator →

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