#E0407B#E0407B

#E0407B is a mid, highly saturated pink. Relative luminance 0.209; OKLCH L 62.0% C 0.200 H 2.8°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#E0407B
RGBrgb(224, 64, 123)
HSLhsl(338, 72%, 56%)
HSVhsv(338, 71%, 88%)
CMYKcmyk(0%, 71.4%, 45.1%, 12.2%)
CIE-LABlab(52.89, 65.32, 3.46)
CIE-LCHlch(52.89, 65.41, 3.03°)
OKLaboklab(62% 0.2 0.0096)
OKLCHoklch(62% 0.2 2.8)
XYZxyz(36.1519, 20.9488, 20.8749)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0407B #40E0A5
analogous
#E040CB #E0407B #E05540
triadic
#E0407B #7BE040 #407BE0
tetradic
#E0407B #CBE040 #40E0A5 #5540E0
square
#E0407B #CBE040 #40E0A5 #5540E0
split-complementary
#E0407B #40E055 #40CBE0
monochromatic
#8E1743 #C3205C #E0407B #E9759F #F1A9C4

Accessibility & contrast

On white

4.05
#E0407B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#E0407B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E0407B
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0407B#FFFFFF#000000##000000
##E0407B1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#646A7C
Deuteranopia (green-blind)
#8F8A77
Tritanopia (blue-blind)
#F32559
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #e0407b;
/* rgb */ color: rgb(224, 64, 123);
/* oklch */ color: oklch(62.0% 0.200 2.8);
Tailwind
colors: {
  custom: {
    50: '#ef81a1',
    500: '#e0407b',
    950: '#000000',
  },
}
SCSS
$custom: #e0407b;
$custom-light: #ef81a1;
$custom-dark: #000000;
JSON
{
  "hex": "#e0407b",
  "rgb": {
    "r": 224,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 337.875,
    "s": 72.072,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61999,
    "c": 0.20024,
    "h": 2.8
  },
  "luminance": 0.20944
}

Semantic roles & 50–950 ramp

primary
#E0407B
secondary
#9DDFC7
accent
#EFAC39
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#180B0E
muted
#867C7E

Preview Lab

Preview with #E0407B

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

Preview Lab → · Contrast checker → · Palette generator →

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