#E271AB#E271AB
#E271AB is a light, vivid pink. Relative luminance 0.309; OKLCH L 69.6% C 0.154 H 349.8°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #E271AB |
|---|---|
| RGB | rgb(226, 113, 171) |
| HSL | hsl(329, 66%, 66%) |
| HSV | hsv(329, 50%, 89%) |
| CMYK | cmyk(0%, 50%, 24.3%, 11.4%) |
| CIE-LAB | lab(62.44, 50.49, -10.50) |
| CIE-LCH | lch(62.44, 51.57, 348.25°) |
| OKLab | oklab(69.64% 0.1519 -0.0273) |
| OKLCH | oklch(69.64% 0.154 349.8) |
| XYZ | xyz(44.6212, 30.9230, 42.1388) |
| Luminance | 0.3092 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 4.01
Hot Pink
#FF69B4
ΔE00 4.64
Bubblegum (survey)
#FF6CB5
ΔE00 4.65
Bubble Gum Pink
#FF69AF
ΔE00 4.71
Palevioletred
#DB7093
ΔE00 5.70
Medium Pink
#F36196
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E271AB #71E2A8
analogous
#E171E2 #E271AB #E27173
triadic
#E271AB #ABE271 #71ABE2
tetradic
#E271AB #E2E171 #71E2A8 #7173E2
square
#E271AB #E2E171 #71E2A8 #7173E2
split-complementary
#E271AB #73E271 #71E2E1
monochromatic
#B4256E #D83E8D #E271AB #ECA4C9 #F7D7E7
Accessibility & contrast
On white
2.92
#E271AB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.18
#E271AB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E271AB
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E271AB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E271AB | 1.00 | 2.92 | 7.18 | 7.18 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D8BAD
Deuteranopia (green-blind)
#9B9EA8
Tritanopia (blue-blind)
#F06D87
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #e271ab; /* rgb */ color: rgb(226, 113, 171); /* oklch */ color: oklch(69.6% 0.154 349.8);
Tailwind
colors: {
custom: {
50: '#ee9dc4',
500: '#e271ab',
950: '#000000',
},
}SCSS
$custom: #e271ab; $custom-light: #ee9dc4; $custom-dark: #000000;
JSON
{
"hex": "#e271ab",
"rgb": {
"r": 226,
"g": 113,
"b": 171
},
"hsl": {
"h": 329.204,
"s": 66.082,
"l": 66.471
},
"oklch": {
"l": 0.69636,
"c": 0.15438,
"h": 349.8
},
"luminance": 0.30919
}Semantic roles & 50–950 ramp
primary
#E271AB
secondary
#C5EAD7
accent
#CE7018
background
#FEF9FC
surface
#FDF2F8
border
#D5CCD1
text
#170F12
muted
#857E81