#87186A#87186A
#87186A 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.86:1 contrast (WCAG AA passes).
Color values
| HEX | #87186A |
|---|---|
| RGB | rgb(135, 24, 106) |
| HSL | hsl(316, 70%, 31%) |
| HSV | hsv(316, 82%, 53%) |
| CMYK | cmyk(0%, 82.2%, 21.5%, 47.1%) |
| CIE-LAB | lab(31.45, 52.54, -19.78) |
| CIE-LCH | lch(31.45, 56.15, 339.37°) |
| OKLab | oklab(43.13% 0.1578 -0.0533) |
| OKLCH | oklch(43.13% 0.167 341.3) |
| XYZ | xyz(12.9203, 6.8461, 14.2739) |
| Luminance | 0.0684 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.93
Rich Purple
#720058
ΔE00 5.23
Darkish Purple
#751973
ΔE00 5.43
Velvet
#750851
ΔE00 5.47
Purple
#800080
ΔE00 6.50
Dark Magenta
#960056
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87186A #188735
analogous
#6C1887 #87186A #871832
triadic
#87186A #6A8718 #186A87
tetradic
#87186A #876C18 #188735 #183287
square
#87186A #876C18 #188735 #183287
split-complementary
#87186A #328718 #18876C
monochromatic
#1F0618 #530F41 #87186A #BB2193 #DC3DB3
Accessibility & contrast
On white
8.86
#87186A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#87186A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #87186A
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87186A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##87186A | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#233F6C
Deuteranopia (green-blind)
#485068
Tritanopia (blue-blind)
#901B40
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #87186a; /* rgb */ color: rgb(135, 24, 106); /* oklch */ color: oklch(43.1% 0.167 341.3);
Tailwind
colors: {
custom: {
50: '#ae6495',
500: '#87186a',
950: '#000000',
},
}SCSS
$custom: #87186a; $custom-light: #ae6495; $custom-dark: #000000;
JSON
{
"hex": "#87186a",
"rgb": {
"r": 135,
"g": 24,
"b": 106
},
"hsl": {
"h": 315.676,
"s": 69.811,
"l": 31.176
},
"oklch": {
"l": 0.43126,
"c": 0.16655,
"h": 341.3
},
"luminance": 0.06845
}Semantic roles & 50–950 ramp
primary
#87186A
secondary
#40BB60
accent
#ED6A3B
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E