#8E176E#8E176E
#8E176E is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.5% C 0.174 H 342.0°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #8E176E |
|---|---|
| RGB | rgb(142, 23, 110) |
| HSL | hsl(316, 72%, 32%) |
| HSV | hsv(316, 84%, 56%) |
| CMYK | cmyk(0%, 83.8%, 22.5%, 44.3%) |
| CIE-LAB | lab(32.90, 55.01, -19.99) |
| CIE-LCH | lch(32.90, 58.53, 340.03°) |
| OKLab | oklab(44.48% 0.1657 -0.0538) |
| OKLCH | oklch(44.48% 0.174 342) |
| XYZ | xyz(14.2767, 7.4909, 15.4429) |
| Luminance | 0.0749 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.98
Darkish Purple
#751973
ΔE00 6.24
Rich Purple
#720058
ΔE00 6.48
Velvet
#750851
ΔE00 6.57
Dark Magenta
#960056
ΔE00 6.58
Purple
#800080
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E176E #178E37
analogous
#72178E #8E176E #8E1733
triadic
#8E176E #6E8E17 #176E8E
tetradic
#8E176E #8E7217 #178E37 #17338E
square
#8E176E #8E7217 #178E37 #17338E
split-complementary
#8E176E #338E17 #178E72
monochromatic
#25061C #590E45 #8E176E #C32097 #E03FB5
Accessibility & contrast
On white
8.41
#8E176E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#8E176E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E176E
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E176E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E176E | 1.00 | 8.41 | 2.50 | 8.41 |
| #FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254170
Deuteranopia (green-blind)
#4B546B
Tritanopia (blue-blind)
#971942
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8e176e; /* rgb */ color: rgb(142, 23, 110); /* oklch */ color: oklch(44.5% 0.174 342.0);
Tailwind
colors: {
custom: {
50: '#b36597',
500: '#8e176e',
950: '#000000',
},
}SCSS
$custom: #8e176e; $custom-light: #b36597; $custom-dark: #000000;
JSON
{
"hex": "#8e176e",
"rgb": {
"r": 142,
"g": 23,
"b": 110
},
"hsl": {
"h": 316.134,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.44476,
"c": 0.1742,
"h": 342
},
"luminance": 0.07489
}Semantic roles & 50–950 ramp
primary
#8E176E
secondary
#40C063
accent
#EF6A39
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E