#8E2177#8E2177
#8E2177 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.170 H 338.1°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2177 |
|---|---|
| RGB | rgb(142, 33, 119) |
| HSL | hsl(313, 62%, 34%) |
| HSV | hsv(313, 77%, 56%) |
| CMYK | cmyk(0%, 76.8%, 16.2%, 44.3%) |
| CIE-LAB | lab(34.34, 53.40, -23.45) |
| CIE-LCH | lch(34.34, 58.33, 336.29°) |
| OKLab | oklab(45.66% 0.1581 -0.0637) |
| OKLCH | oklch(45.66% 0.17 338.1) |
| XYZ | xyz(15.0293, 8.1718, 18.2350) |
| Luminance | 0.0817 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.85
Red Violet
#9E0168
ΔE00 5.41
Darkish Purple
#751973
ΔE00 5.74
Darkmagenta
#8B008B
ΔE00 5.74
Purple
#800080
ΔE00 6.07
Barney Purple
#A00498
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2177 #218E38
analogous
#6F218E #8E2177 #8E2140
triadic
#8E2177 #778E21 #21778E
tetradic
#8E2177 #8E6F21 #218E38 #21408E
square
#8E2177 #8E6F21 #218E38 #21408E
split-complementary
#8E2177 #408E21 #218E6F
monochromatic
#2B0A24 #5C154D #8E2177 #C02DA1 #D752BB
Accessibility & contrast
On white
7.97
#8E2177 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#8E2177 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2177
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2177 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2177 | 1.00 | 7.97 | 2.63 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264679
Deuteranopia (green-blind)
#4B5774
Tritanopia (blue-blind)
#96274A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8e2177; /* rgb */ color: rgb(142, 33, 119); /* oklch */ color: oklch(45.7% 0.170 338.1);
Tailwind
colors: {
custom: {
50: '#b3689e',
500: '#8e2177',
950: '#000000',
},
}SCSS
$custom: #8e2177; $custom-light: #b3689e; $custom-dark: #000000;
JSON
{
"hex": "#8e2177",
"rgb": {
"r": 142,
"g": 33,
"b": 119
},
"hsl": {
"h": 312.661,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.45655,
"c": 0.17044,
"h": 338.1
},
"luminance": 0.0817
}Semantic roles & 50–950 ramp
primary
#8E2177
secondary
#50BA67
accent
#E56542
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E