#E271BB#E271BB
#E271BB is a light, vivid pink. Relative luminance 0.316; OKLCH L 70.2% C 0.164 H 342.3°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #E271BB |
|---|---|
| RGB | rgb(226, 113, 187) |
| HSL | hsl(321, 66%, 66%) |
| HSV | hsv(321, 50%, 89%) |
| CMYK | cmyk(0%, 50%, 17.3%, 11.4%) |
| CIE-LAB | lab(62.99, 52.79, -18.80) |
| CIE-LCH | lch(62.99, 56.03, 340.40°) |
| OKLab | oklab(70.22% 0.1564 -0.0501) |
| OKLCH | oklch(70.22% 0.164 342.3) |
| XYZ | xyz(46.2396, 31.5704, 50.6624) |
| Luminance | 0.3157 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 3.45
Hot Pink
#FF69B4
ΔE00 5.63
Bubblegum (survey)
#FF6CB5
ΔE00 5.67
Orchid (survey)
#C875C4
ΔE00 5.97
Purplish Pink
#CE5DAE
ΔE00 6.25
Orchid
#DA70D6
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E271BB #71E298
analogous
#D171E2 #E271BB #E27183
triadic
#E271BB #BBE271 #71BBE2
tetradic
#E271BB #E2D171 #71E298 #7183E2
square
#E271BB #E2D171 #71E298 #7183E2
split-complementary
#E271BB #83E271 #71E2D1
monochromatic
#B42582 #D83EA3 #E271BB #ECA4D3 #F7D7EC
Accessibility & contrast
On white
2.87
#E271BB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.31
#E271BB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E271BB
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E271BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E271BB | 1.00 | 2.87 | 7.31 | 7.31 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#788DBD
Deuteranopia (green-blind)
#979FB8
Tritanopia (blue-blind)
#EE728E
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #e271bb; /* rgb */ color: rgb(226, 113, 187); /* oklch */ color: oklch(70.2% 0.164 342.3);
Tailwind
colors: {
custom: {
50: '#ed9dcf',
500: '#e271bb',
950: '#000000',
},
}SCSS
$custom: #e271bb; $custom-light: #ed9dcf; $custom-dark: #000000;
JSON
{
"hex": "#e271bb",
"rgb": {
"r": 226,
"g": 113,
"b": 187
},
"hsl": {
"h": 320.708,
"s": 66.082,
"l": 66.471
},
"oklch": {
"l": 0.70221,
"c": 0.16423,
"h": 342.3
},
"luminance": 0.31567
}Semantic roles & 50–950 ramp
primary
#E271BB
secondary
#C5EAD2
accent
#CE5718
background
#FEF9FC
surface
#FDF2F9
border
#D5CCD2
text
#170F13
muted
#857E82