#E042B7#E042B7
#E042B7 is a light, highly saturated pink. Relative luminance 0.232; OKLCH L 64.4% C 0.226 H 340.2°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #E042B7 |
|---|---|
| RGB | rgb(224, 66, 183) |
| HSL | hsl(316, 72%, 57%) |
| HSV | hsv(316, 71%, 88%) |
| CMYK | cmyk(0%, 70.5%, 18.3%, 12.2%) |
| CIE-LAB | lab(55.24, 71.43, -28.41) |
| CIE-LCH | lch(55.24, 76.88, 338.31°) |
| OKLab | oklab(64.41% 0.2129 -0.0766) |
| OKLCH | oklch(64.41% 0.226 340.2) |
| XYZ | xyz(41.2370, 23.1666, 47.0904) |
| Luminance | 0.2316 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpleish Pink
#DF4EC8
ΔE00 3.29
Hot Magenta
#F504C9
ΔE00 4.17
Purplish Pink
#CE5DAE
ΔE00 4.57
Pinky Purple
#C94CBE
ΔE00 4.61
Bright Pink
#FE01B1
ΔE00 4.96
Purpley Pink
#C83CB9
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E042B7 #42E06B
analogous
#BA42E0 #E042B7 #E04268
triadic
#E042B7 #B7E042 #42B7E0
tetradic
#E042B7 #E0BA42 #42E06B #4268E0
square
#E042B7 #E0BA42 #42E06B #4268E0
split-complementary
#E042B7 #68E042 #42E0BA
monochromatic
#901871 #C5209A #E042B7 #E977CB #F1ABDF
Accessibility & contrast
On white
3.73
#E042B7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#E042B7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E042B7
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E042B7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E042B7 | 1.00 | 3.73 | 5.63 | 5.63 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D74BA
Deuteranopia (green-blind)
#7F8DB3
Tritanopia (blue-blind)
#ED4777
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #e042b7; /* rgb */ color: rgb(224, 66, 183); /* oklch */ color: oklch(64.4% 0.226 340.2);
Tailwind
colors: {
custom: {
50: '#ee83cd',
500: '#e042b7',
950: '#000000',
},
}SCSS
$custom: #e042b7; $custom-light: #ee83cd; $custom-dark: #000000;
JSON
{
"hex": "#e042b7",
"rgb": {
"r": 224,
"g": 66,
"b": 183
},
"hsl": {
"h": 315.57,
"s": 71.818,
"l": 56.863
},
"oklch": {
"l": 0.64408,
"c": 0.22631,
"h": 340.2
},
"luminance": 0.23163
}Semantic roles & 50–950 ramp
primary
#E042B7
secondary
#9FDFAF
accent
#EF6839
background
#FFF8FC
surface
#FEF0F9
border
#D6CBD2
text
#170C13
muted
#857D82