#87176A#87176A
#87176A is a dark, vivid pink. Relative luminance 0.068; OKLCH L 43.1% C 0.167 H 341.3°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #87176A |
|---|---|
| RGB | rgb(135, 23, 106) |
| HSL | hsl(316, 71%, 31%) |
| HSV | hsv(316, 83%, 53%) |
| CMYK | cmyk(0%, 83%, 21.5%, 47.1%) |
| CIE-LAB | lab(31.36, 52.81, -19.93) |
| CIE-LCH | lch(31.36, 56.45, 339.33°) |
| OKLab | oklab(43.06% 0.1586 -0.0537) |
| OKLCH | oklch(43.06% 0.167 341.3) |
| XYZ | xyz(12.9000, 6.8057, 14.2671) |
| Luminance | 0.0680 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.95
Rich Purple
#720058
ΔE00 5.17
Darkish Purple
#751973
ΔE00 5.38
Velvet
#750851
ΔE00 5.44
Purple
#800080
ΔE00 6.43
Dark Magenta
#960056
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87176A #178734
analogous
#6C1787 #87176A #871732
triadic
#87176A #6A8717 #176A87
tetradic
#87176A #876C17 #178734 #173287
square
#87176A #876C17 #178734 #173287
split-complementary
#87176A #328717 #17876C
monochromatic
#1E0518 #530E41 #87176A #BB2093 #DE3BB3
Accessibility & contrast
On white
8.90
#87176A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#87176A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #87176A
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87176A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##87176A | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#223E6C
Deuteranopia (green-blind)
#475068
Tritanopia (blue-blind)
#901A40
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #87176a; /* rgb */ color: rgb(135, 23, 106); /* oklch */ color: oklch(43.1% 0.167 341.3);
Tailwind
colors: {
custom: {
50: '#ae6395',
500: '#87176a',
950: '#000000',
},
}SCSS
$custom: #87176a; $custom-light: #ae6395; $custom-dark: #000000;
JSON
{
"hex": "#87176a",
"rgb": {
"r": 135,
"g": 23,
"b": 106
},
"hsl": {
"h": 315.536,
"s": 70.886,
"l": 30.98
},
"oklch": {
"l": 0.43058,
"c": 0.16746,
"h": 341.3
},
"luminance": 0.06804
}Semantic roles & 50–950 ramp
primary
#87176A
secondary
#3FBB5F
accent
#EE693A
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E