#E171BA#E171BA
#E171BA is a light, vivid pink. Relative luminance 0.314; OKLCH L 70.1% C 0.163 H 342.4°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #E171BA |
|---|---|
| RGB | rgb(225, 113, 186) |
| HSL | hsl(321, 65%, 66%) |
| HSV | hsv(321, 50%, 88%) |
| CMYK | cmyk(0%, 49.8%, 17.3%, 11.8%) |
| CIE-LAB | lab(62.82, 52.33, -18.50) |
| CIE-LCH | lch(62.82, 55.50, 340.53°) |
| OKLab | oklab(70.05% 0.1551 -0.0492) |
| OKLCH | oklch(70.05% 0.163 342.4) |
| XYZ | xyz(45.8202, 31.3664, 50.0859) |
| Luminance | 0.3136 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 3.28
Hot Pink
#FF69B4
ΔE00 5.70
Bubblegum (survey)
#FF6CB5
ΔE00 5.74
Orchid (survey)
#C875C4
ΔE00 5.94
Purplish Pink
#CE5DAE
ΔE00 6.14
Bubble Gum Pink
#FF69AF
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E171BA #71E198
analogous
#D071E1 #E171BA #E17182
triadic
#E171BA #BAE171 #71BAE1
tetradic
#E171BA #E1D071 #71E198 #7182E1
square
#E171BA #E1D071 #71E198 #7182E1
split-complementary
#E171BA #82E171 #71E1D0
monochromatic
#B22681 #D63EA1 #E171BA #ECA4D3 #F6D6EB
Accessibility & contrast
On white
2.89
#E171BA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.27
#E171BA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E171BA
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E171BA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E171BA | 1.00 | 2.89 | 7.27 | 7.27 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#788DBC
Deuteranopia (green-blind)
#969FB7
Tritanopia (blue-blind)
#ED728D
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #e171ba; /* rgb */ color: rgb(225, 113, 186); /* oklch */ color: oklch(70.1% 0.163 342.4);
Tailwind
colors: {
custom: {
50: '#ed9dce',
500: '#e171ba',
950: '#000000',
},
}SCSS
$custom: #e171ba; $custom-light: #ed9dce; $custom-dark: #000000;
JSON
{
"hex": "#e171ba",
"rgb": {
"r": 225,
"g": 113,
"b": 186
},
"hsl": {
"h": 320.893,
"s": 65.116,
"l": 66.275
},
"oklch": {
"l": 0.70054,
"c": 0.16271,
"h": 342.4
},
"luminance": 0.31363
}Semantic roles & 50–950 ramp
primary
#E171BA
secondary
#C5E9D1
accent
#CD5719
background
#FEF9FC
surface
#FDF2F9
border
#D5CCD2
text
#170F13
muted
#857E82