#E042B4#E042B4
#E042B4 is a light, highly saturated pink. Relative luminance 0.230; OKLCH L 64.3% C 0.224 H 341.2°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #E042B4 |
|---|---|
| RGB | rgb(224, 66, 180) |
| HSL | hsl(317, 72%, 57%) |
| HSV | hsv(317, 71%, 88%) |
| CMYK | cmyk(0%, 70.5%, 19.6%, 12.2%) |
| CIE-LAB | lab(55.12, 71.03, -26.87) |
| CIE-LCH | lch(55.12, 75.95, 339.28°) |
| OKLab | oklab(64.27% 0.2125 -0.0723) |
| OKLCH | oklch(64.27% 0.224 341.2) |
| XYZ | xyz(40.9281, 23.0430, 45.4634) |
| Luminance | 0.2304 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpleish Pink
#DF4EC8
ΔE00 3.77
Purplish Pink
#CE5DAE
ΔE00 4.44
Hot Magenta
#F504C9
ΔE00 4.49
Bright Pink
#FE01B1
ΔE00 4.75
Pinky Purple
#C94CBE
ΔE00 4.96
Purpley Pink
#C83CB9
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E042B4 #42E06E
analogous
#BD42E0 #E042B4 #E04265
triadic
#E042B4 #B4E042 #42B4E0
tetradic
#E042B4 #E0BD42 #42E06E #4265E0
square
#E042B4 #E0BD42 #42E06E #4265E0
split-complementary
#E042B4 #65E042 #42E0BD
monochromatic
#90186E #C52097 #E042B4 #E977C9 #F1ABDE
Accessibility & contrast
On white
3.74
#E042B4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.61
#E042B4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E042B4
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E042B4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E042B4 | 1.00 | 3.74 | 5.61 | 5.61 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F74B7
Deuteranopia (green-blind)
#808DB0
Tritanopia (blue-blind)
#ED4576
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #e042b4; /* rgb */ color: rgb(224, 66, 180); /* oklch */ color: oklch(64.3% 0.224 341.2);
Tailwind
colors: {
custom: {
50: '#ee83ca',
500: '#e042b4',
950: '#000000',
},
}SCSS
$custom: #e042b4; $custom-light: #ee83ca; $custom-dark: #000000;
JSON
{
"hex": "#e042b4",
"rgb": {
"r": 224,
"g": 66,
"b": 180
},
"hsl": {
"h": 316.709,
"s": 71.818,
"l": 56.863
},
"oklch": {
"l": 0.64274,
"c": 0.22443,
"h": 341.2
},
"luminance": 0.23039
}Semantic roles & 50–950 ramp
primary
#E042B4
secondary
#9FDFB1
accent
#EF6C39
background
#FFF8FC
surface
#FEF0F8
border
#D6CBD1
text
#170C13
muted
#857D82