#E040B8#E040B8
#E040B8 is a light, highly saturated pink. Relative luminance 0.230; OKLCH L 64.3% C 0.229 H 339.8°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #E040B8 |
|---|---|
| RGB | rgb(224, 64, 184) |
| HSL | hsl(315, 72%, 56%) |
| HSV | hsv(315, 71%, 88%) |
| CMYK | cmyk(0%, 71.4%, 17.9%, 12.2%) |
| CIE-LAB | lab(55.05, 72.23, -29.29) |
| CIE-LCH | lch(55.05, 77.95, 337.93°) |
| OKLab | oklab(64.28% 0.2151 -0.0791) |
| OKLCH | oklch(64.28% 0.229 339.8) |
| XYZ | xyz(41.2267, 22.9788, 47.6022) |
| Luminance | 0.2298 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpleish Pink
#DF4EC8
ΔE00 3.25
Hot Magenta
#F504C9
ΔE00 3.94
Pinky Purple
#C94CBE
ΔE00 4.44
Purplish Pink
#CE5DAE
ΔE00 4.83
Bright Pink
#FE01B1
ΔE00 5.03
Purpley Pink
#C83CB9
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E040B8 #40E068
analogous
#B840E0 #E040B8 #E04068
triadic
#E040B8 #B8E040 #40B8E0
tetradic
#E040B8 #E0B840 #40E068 #4068E0
square
#E040B8 #E0B840 #40E068 #4068E0
split-complementary
#E040B8 #68E040 #40E0B8
monochromatic
#8E1771 #C3209A #E040B8 #E975CC #F1A9DF
Accessibility & contrast
On white
3.75
#E040B8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.60
#E040B8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E040B8
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E040B8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E040B8 | 1.00 | 3.75 | 5.60 | 5.60 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A74BB
Deuteranopia (green-blind)
#7E8DB4
Tritanopia (blue-blind)
#ED4577
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #e040b8; /* rgb */ color: rgb(224, 64, 184); /* oklch */ color: oklch(64.3% 0.229 339.8);
Tailwind
colors: {
custom: {
50: '#ee83cd',
500: '#e040b8',
950: '#000000',
},
}SCSS
$custom: #e040b8; $custom-light: #ee83cd; $custom-dark: #000000;
JSON
{
"hex": "#e040b8",
"rgb": {
"r": 224,
"g": 64,
"b": 184
},
"hsl": {
"h": 315,
"s": 72.072,
"l": 56.471
},
"oklch": {
"l": 0.64282,
"c": 0.22919,
"h": 339.8
},
"luminance": 0.22975
}Semantic roles & 50–950 ramp
primary
#E040B8
secondary
#9DDFAD
accent
#EF6639
background
#FFF8FC
surface
#FEF0F9
border
#D6CBD2
text
#170C13
muted
#857D82