#E042B5#E042B5
#E042B5 is a light, highly saturated pink. Relative luminance 0.231; OKLCH L 64.3% C 0.225 H 340.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #E042B5 |
|---|---|
| RGB | rgb(224, 66, 181) |
| HSL | hsl(316, 72%, 57%) |
| HSV | hsv(316, 71%, 88%) |
| CMYK | cmyk(0%, 70.5%, 19.2%, 12.2%) |
| CIE-LAB | lab(55.16, 71.17, -27.39) |
| CIE-LCH | lch(55.16, 76.25, 338.95°) |
| OKLab | oklab(64.32% 0.2126 -0.0737) |
| OKLCH | oklch(64.32% 0.225 340.9) |
| XYZ | xyz(41.0304, 23.0839, 46.0019) |
| Luminance | 0.2308 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpleish Pink
#DF4EC8
ΔE00 3.60
Hot Magenta
#F504C9
ΔE00 4.38
Purplish Pink
#CE5DAE
ΔE00 4.47
Bright Pink
#FE01B1
ΔE00 4.81
Pinky Purple
#C94CBE
ΔE00 4.84
Purpley Pink
#C83CB9
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E042B5 #42E06D
analogous
#BC42E0 #E042B5 #E04266
triadic
#E042B5 #B5E042 #42B5E0
tetradic
#E042B5 #E0BC42 #42E06D #4266E0
square
#E042B5 #E0BC42 #42E06D #4266E0
split-complementary
#E042B5 #66E042 #42E0BC
monochromatic
#90186F #C52098 #E042B5 #E977CA #F1ABDE
Accessibility & contrast
On white
3.74
#E042B5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#E042B5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E042B5
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E042B5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E042B5 | 1.00 | 3.74 | 5.62 | 5.62 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E74B8
Deuteranopia (green-blind)
#808DB1
Tritanopia (blue-blind)
#ED4676
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #e042b5; /* rgb */ color: rgb(224, 66, 181); /* oklch */ color: oklch(64.3% 0.225 340.9);
Tailwind
colors: {
custom: {
50: '#ee83cb',
500: '#e042b5',
950: '#000000',
},
}SCSS
$custom: #e042b5; $custom-light: #ee83cb; $custom-dark: #000000;
JSON
{
"hex": "#e042b5",
"rgb": {
"r": 224,
"g": 66,
"b": 181
},
"hsl": {
"h": 316.329,
"s": 71.818,
"l": 56.863
},
"oklch": {
"l": 0.64319,
"c": 0.22506,
"h": 340.9
},
"luminance": 0.2308
}Semantic roles & 50–950 ramp
primary
#E042B5
secondary
#9FDFB0
accent
#EF6B39
background
#FFF8FC
surface
#FEF0F8
border
#D6CBD1
text
#170C13
muted
#857D82