#E040B3#E040B3
#E040B3 is a light, highly saturated pink. Relative luminance 0.228; OKLCH L 64.1% C 0.226 H 341.5°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #E040B3 |
|---|---|
| RGB | rgb(224, 64, 179) |
| HSL | hsl(317, 72%, 56%) |
| HSV | hsv(317, 71%, 88%) |
| CMYK | cmyk(0%, 71.4%, 20.1%, 12.2%) |
| CIE-LAB | lab(54.84, 71.57, -26.72) |
| CIE-LCH | lch(54.84, 76.40, 339.53°) |
| OKLab | oklab(64.06% 0.2144 -0.0718) |
| OKLCH | oklch(64.06% 0.226 341.5) |
| XYZ | xyz(40.7118, 22.7728, 44.8906) |
| Luminance | 0.2277 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpleish Pink
#DF4EC8
ΔE00 4.02
Hot Magenta
#F504C9
ΔE00 4.48
Purplish Pink
#CE5DAE
ΔE00 4.61
Bright Pink
#FE01B1
ΔE00 4.67
Pinky Purple
#C94CBE
ΔE00 5.01
Purpley Pink
#C83CB9
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E040B3 #40E06D
analogous
#BD40E0 #E040B3 #E04063
triadic
#E040B3 #B3E040 #40B3E0
tetradic
#E040B3 #E0BD40 #40E06D #4063E0
square
#E040B3 #E0BD40 #40E06D #4063E0
split-complementary
#E040B3 #63E040 #40E0BD
monochromatic
#8E176D #C32095 #E040B3 #E975C8 #F1A9DD
Accessibility & contrast
On white
3.78
#E040B3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#E040B3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E040B3
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E040B3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E040B3 | 1.00 | 3.78 | 5.55 | 5.55 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D73B6
Deuteranopia (green-blind)
#808DAF
Tritanopia (blue-blind)
#EE4374
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #e040b3; /* rgb */ color: rgb(224, 64, 179); /* oklch */ color: oklch(64.1% 0.226 341.5);
Tailwind
colors: {
custom: {
50: '#ee82ca',
500: '#e040b3',
950: '#000000',
},
}SCSS
$custom: #e040b3; $custom-light: #ee82ca; $custom-dark: #000000;
JSON
{
"hex": "#e040b3",
"rgb": {
"r": 224,
"g": 64,
"b": 179
},
"hsl": {
"h": 316.875,
"s": 72.072,
"l": 56.471
},
"oklch": {
"l": 0.64058,
"c": 0.22607,
"h": 341.5
},
"luminance": 0.22769
}Semantic roles & 50–950 ramp
primary
#E040B3
secondary
#9DDFB0
accent
#EF6C39
background
#FFF8FC
surface
#FEF0F8
border
#D6CBD1
text
#170C13
muted
#857D82