#E042B6#E042B6
#E042B6 is a light, highly saturated pink. Relative luminance 0.231; OKLCH L 64.4% C 0.226 H 340.5°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #E042B6 |
|---|---|
| RGB | rgb(224, 66, 182) |
| HSL | hsl(316, 72%, 57%) |
| HSV | hsv(316, 71%, 88%) |
| CMYK | cmyk(0%, 70.5%, 18.7%, 12.2%) |
| CIE-LAB | lab(55.20, 71.30, -27.90) |
| CIE-LCH | lch(55.20, 76.56, 338.63°) |
| OKLab | oklab(64.36% 0.2128 -0.0752) |
| OKLCH | oklch(64.36% 0.226 340.5) |
| XYZ | xyz(41.1333, 23.1251, 46.5442) |
| Luminance | 0.2312 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpleish Pink
#DF4EC8
ΔE00 3.44
Hot Magenta
#F504C9
ΔE00 4.27
Purplish Pink
#CE5DAE
ΔE00 4.52
Pinky Purple
#C94CBE
ΔE00 4.72
Bright Pink
#FE01B1
ΔE00 4.88
Purpley Pink
#C83CB9
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E042B6 #42E06C
analogous
#BB42E0 #E042B6 #E04267
triadic
#E042B6 #B6E042 #42B6E0
tetradic
#E042B6 #E0BB42 #42E06C #4267E0
square
#E042B6 #E0BB42 #42E06C #4267E0
split-complementary
#E042B6 #67E042 #42E0BB
monochromatic
#901870 #C52099 #E042B6 #E977CA #F1ABDF
Accessibility & contrast
On white
3.73
#E042B6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#E042B6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E042B6
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E042B6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E042B6 | 1.00 | 3.73 | 5.62 | 5.62 |
| #FFFFFF | 3.73 | 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)
#4D74B9
Deuteranopia (green-blind)
#808DB2
Tritanopia (blue-blind)
#ED4677
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #e042b6; /* rgb */ color: rgb(224, 66, 182); /* oklch */ color: oklch(64.4% 0.226 340.5);
Tailwind
colors: {
custom: {
50: '#ee83cc',
500: '#e042b6',
950: '#000000',
},
}SCSS
$custom: #e042b6; $custom-light: #ee83cc; $custom-dark: #000000;
JSON
{
"hex": "#e042b6",
"rgb": {
"r": 224,
"g": 66,
"b": 182
},
"hsl": {
"h": 315.949,
"s": 71.818,
"l": 56.863
},
"oklch": {
"l": 0.64363,
"c": 0.22568,
"h": 340.5
},
"luminance": 0.23121
}Semantic roles & 50–950 ramp
primary
#E042B6
secondary
#9FDFB0
accent
#EF6939
background
#FFF8FC
surface
#FEF0F8
border
#D6CBD1
text
#170C13
muted
#857D82