#8E2176#8E2176
#8E2176 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.6% C 0.170 H 338.5°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2176 |
|---|---|
| RGB | rgb(142, 33, 118) |
| HSL | hsl(313, 62%, 34%) |
| HSV | hsv(313, 77%, 56%) |
| CMYK | cmyk(0%, 76.8%, 16.9%, 44.3%) |
| CIE-LAB | lab(34.29, 53.26, -22.90) |
| CIE-LCH | lch(34.29, 57.97, 336.73°) |
| OKLab | oklab(45.6% 0.158 -0.0621) |
| OKLCH | oklch(45.6% 0.17 338.5) |
| XYZ | xyz(14.9696, 8.1479, 17.9204) |
| Luminance | 0.0815 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.03
Red Violet
#9E0168
ΔE00 5.24
Darkish Purple
#751973
ΔE00 5.83
Darkmagenta
#8B008B
ΔE00 5.94
Purple
#800080
ΔE00 6.23
Barney Purple
#A00498
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2176 #218E39
analogous
#70218E #8E2176 #8E2140
triadic
#8E2176 #768E21 #21768E
tetradic
#8E2176 #8E7021 #218E39 #21408E
square
#8E2176 #8E7021 #218E39 #21408E
split-complementary
#8E2176 #408E21 #218E70
monochromatic
#2B0A23 #5C154D #8E2176 #C02D9F #D752BA
Accessibility & contrast
On white
7.99
#8E2176 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#8E2176 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2176
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2176 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2176 | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274678
Deuteranopia (green-blind)
#4B5773
Tritanopia (blue-blind)
#962649
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8e2176; /* rgb */ color: rgb(142, 33, 118); /* oklch */ color: oklch(45.6% 0.170 338.5);
Tailwind
colors: {
custom: {
50: '#b3689d',
500: '#8e2176',
950: '#000000',
},
}SCSS
$custom: #8e2176; $custom-light: #b3689d; $custom-dark: #000000;
JSON
{
"hex": "#8e2176",
"rgb": {
"r": 142,
"g": 33,
"b": 118
},
"hsl": {
"h": 313.211,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.45604,
"c": 0.16975,
"h": 338.5
},
"luminance": 0.08147
}Semantic roles & 50–950 ramp
primary
#8E2176
secondary
#50BA68
accent
#E56642
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E