#E04271#E04271
#E04271 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.9% C 0.196 H 7.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #E04271 |
|---|---|
| RGB | rgb(224, 66, 113) |
| HSL | hsl(342, 72%, 57%) |
| HSV | hsv(342, 71%, 88%) |
| CMYK | cmyk(0%, 70.5%, 49.6%, 12.2%) |
| CIE-LAB | lab(52.88, 63.75, 9.44) |
| CIE-LCH | lch(52.88, 64.44, 8.43°) |
| OKLab | oklab(61.91% 0.1943 0.0245) |
| OKLCH | oklch(61.91% 0.196 7.2) |
| XYZ | xyz(35.6724, 20.9407, 17.7831) |
| Luminance | 0.2094 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cherry
#DE3163
ΔE00 3.40
Darkish Pink
#DA467D
ΔE00 3.49
Dark Pink
#CB416B
ΔE00 4.39
Deep Rose
#C74767
ΔE00 4.81
Blush
#DE5D83
ΔE00 5.18
Raspberry
#E30B5C
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E04271 #42E0B1
analogous
#E042C0 #E04271 #E06242
triadic
#E04271 #71E042 #4271E0
tetradic
#E04271 #C0E042 #42E0B1 #6242E0
square
#E04271 #C0E042 #42E0B1 #6242E0
split-complementary
#E04271 #42E062 #42C0E0
monochromatic
#90183B #C52051 #E04271 #E97799 #F1ABC0
Accessibility & contrast
On white
4.05
#E04271 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#E04271 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E04271
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E04271 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E04271 | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#686A72
Deuteranopia (green-blind)
#918A6D
Tritanopia (blue-blind)
#F42355
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #e04271; /* rgb */ color: rgb(224, 66, 113); /* oklch */ color: oklch(61.9% 0.196 7.2);
Tailwind
colors: {
custom: {
50: '#f08299',
500: '#e04271',
950: '#000000',
},
}SCSS
$custom: #e04271; $custom-light: #f08299; $custom-dark: #000000;
JSON
{
"hex": "#e04271",
"rgb": {
"r": 224,
"g": 66,
"b": 113
},
"hsl": {
"h": 342.152,
"s": 71.818,
"l": 56.863
},
"oklch": {
"l": 0.61907,
"c": 0.19579,
"h": 7.2
},
"luminance": 0.20936
}Semantic roles & 50–950 ramp
primary
#E04271
secondary
#9FDFCC
accent
#EFB939
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#180B0D
muted
#867C7E