#E271A2#E271A2
#E271A2 is a light, vivid pink. Relative luminance 0.306; OKLCH L 69.3% C 0.150 H 354.4°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #E271A2 |
|---|---|
| RGB | rgb(226, 113, 162) |
| HSL | hsl(334, 66%, 66%) |
| HSV | hsv(334, 50%, 89%) |
| CMYK | cmyk(0%, 50%, 28.3%, 11.4%) |
| CIE-LAB | lab(62.16, 49.28, -5.77) |
| CIE-LCH | lch(62.16, 49.62, 353.32°) |
| OKLab | oklab(69.33% 0.1491 -0.0146) |
| OKLCH | oklch(69.33% 0.15 354.4) |
| XYZ | xyz(43.7924, 30.5915, 37.7738) |
| Luminance | 0.3059 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Palevioletred
#DB7093
ΔE00 3.56
Medium Pink
#F36196
ΔE00 4.53
Bubble Gum Pink
#FF69AF
ΔE00 4.87
Bubblegum (survey)
#FF6CB5
ΔE00 5.28
Hot Pink
#FF69B4
ΔE00 5.29
Pale Magenta
#D767AD
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E271A2 #71E2B1
analogous
#E271DB #E271A2 #E27971
triadic
#E271A2 #A2E271 #71A2E2
tetradic
#E271A2 #DBE271 #71E2B1 #7971E2
square
#E271A2 #DBE271 #71E2B1 #7971E2
split-complementary
#E271A2 #71E279 #71DBE2
monochromatic
#B42563 #D83E81 #E271A2 #ECA4C3 #F7D7E5
Accessibility & contrast
On white
2.95
#E271A2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.12
#E271A2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E271A2
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E271A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E271A2 | 1.00 | 2.95 | 7.12 | 7.12 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#808AA4
Deuteranopia (green-blind)
#9D9E9F
Tritanopia (blue-blind)
#F16B83
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #e271a2; /* rgb */ color: rgb(226, 113, 162); /* oklch */ color: oklch(69.3% 0.150 354.4);
Tailwind
colors: {
custom: {
50: '#ee9dbd',
500: '#e271a2',
950: '#000000',
},
}SCSS
$custom: #e271a2; $custom-light: #ee9dbd; $custom-dark: #000000;
JSON
{
"hex": "#e271a2",
"rgb": {
"r": 226,
"g": 113,
"b": 162
},
"hsl": {
"h": 333.982,
"s": 66.082,
"l": 66.471
},
"oklch": {
"l": 0.69332,
"c": 0.14985,
"h": 354.4
},
"luminance": 0.30588
}Semantic roles & 50–950 ramp
primary
#E271A2
secondary
#C5EADA
accent
#CE7F18
background
#FEF9FB
surface
#FDF2F6
border
#D5CCD0
text
#170F12
muted
#857E81