#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 |
|---|---|
| RGB | rgb(224, 64, 123) |
| HSL | hsl(338, 72%, 56%) |
| HSV | hsv(338, 71%, 88%) |
| CMYK | cmyk(0%, 71.4%, 45.1%, 12.2%) |
| CIE-LAB | lab(52.89, 65.32, 3.46) |
| CIE-LCH | lch(52.89, 65.41, 3.03°) |
| OKLab | oklab(62% 0.2 0.0096) |
| OKLCH | oklch(62% 0.2 2.8) |
| XYZ | xyz(36.1519, 20.9488, 20.8749) |
| Luminance | 0.2094 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 1.19
Rose
#FF007F
ΔE00 4.78
Dark Pink
#CB416B
ΔE00 4.84
Blush
#DE5D83
ΔE00 5.12
Strong Pink
#FF0789
ΔE00 5.32
Cherry
#DE3163
ΔE00 5.45
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 |
|---|---|---|---|---|
| ##E0407B | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.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