#8E176D#8E176D
#8E176D is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.4% C 0.174 H 342.5°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #8E176D |
|---|---|
| RGB | rgb(142, 23, 109) |
| HSL | hsl(317, 72%, 32%) |
| HSV | hsv(317, 84%, 56%) |
| CMYK | cmyk(0%, 83.8%, 23.2%, 44.3%) |
| CIE-LAB | lab(32.85, 54.88, -19.43) |
| CIE-LCH | lch(32.85, 58.22, 340.51°) |
| OKLab | oklab(44.43% 0.1655 -0.0522) |
| OKLCH | oklch(44.43% 0.174 342.5) |
| XYZ | xyz(14.2226, 7.4693, 15.1577) |
| Luminance | 0.0747 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.83
Dark Magenta
#960056
ΔE00 6.36
Darkish Purple
#751973
ΔE00 6.40
Rich Purple
#720058
ΔE00 6.44
Velvet
#750851
ΔE00 6.44
Deep Magenta
#A0025C
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E176D #178E38
analogous
#74178E #8E176D #8E1731
triadic
#8E176D #6D8E17 #176D8E
tetradic
#8E176D #8E7417 #178E38 #17318E
square
#8E176D #8E7417 #178E38 #17318E
split-complementary
#8E176D #318E17 #178E74
monochromatic
#25061C #590E45 #8E176D #C32095 #E03FB3
Accessibility & contrast
On white
8.42
#8E176D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#8E176D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E176D
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E176D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E176D | 1.00 | 8.42 | 2.49 | 8.42 |
| #FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25416F
Deuteranopia (green-blind)
#4C546A
Tritanopia (blue-blind)
#971842
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8e176d; /* rgb */ color: rgb(142, 23, 109); /* oklch */ color: oklch(44.4% 0.174 342.5);
Tailwind
colors: {
custom: {
50: '#b36597',
500: '#8e176d',
950: '#000000',
},
}SCSS
$custom: #8e176d; $custom-light: #b36597; $custom-dark: #000000;
JSON
{
"hex": "#8e176d",
"rgb": {
"r": 142,
"g": 23,
"b": 109
},
"hsl": {
"h": 316.639,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.44427,
"c": 0.17357,
"h": 342.5
},
"luminance": 0.07468
}Semantic roles & 50–950 ramp
primary
#8E176D
secondary
#40C064
accent
#EF6B39
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E