#87186E#87186E
#87186E is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.3% C 0.169 H 339.3°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #87186E |
|---|---|
| RGB | rgb(135, 24, 110) |
| HSL | hsl(314, 70%, 31%) |
| HSV | hsv(314, 82%, 53%) |
| CMYK | cmyk(0%, 82.2%, 18.5%, 47.1%) |
| CIE-LAB | lab(31.65, 53.10, -22.04) |
| CIE-LCH | lch(31.65, 57.50, 337.46°) |
| OKLab | oklab(43.33% 0.1583 -0.0597) |
| OKLCH | oklch(43.33% 0.169 339.3) |
| XYZ | xyz(13.1332, 6.9313, 15.3951) |
| Luminance | 0.0693 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.73
Red Violet
#9E0168
ΔE00 5.47
Rich Purple
#720058
ΔE00 5.51
Purple
#800080
ΔE00 5.64
Velvet
#750851
ΔE00 6.13
Darkmagenta
#8B008B
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87186E #188731
analogous
#681887 #87186E #871836
triadic
#87186E #6E8718 #186E87
tetradic
#87186E #876818 #188731 #183687
square
#87186E #876818 #188731 #183687
split-complementary
#87186E #368718 #188768
monochromatic
#1F0619 #530F44 #87186E #BB2198 #DC3DB9
Accessibility & contrast
On white
8.80
#87186E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#87186E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #87186E
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87186E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##87186E | 1.00 | 8.80 | 2.39 | 8.80 |
| #FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#203F70
Deuteranopia (green-blind)
#46516C
Tritanopia (blue-blind)
#8F1D42
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #87186e; /* rgb */ color: rgb(135, 24, 110); /* oklch */ color: oklch(43.3% 0.169 339.3);
Tailwind
colors: {
custom: {
50: '#ae6498',
500: '#87186e',
950: '#000000',
},
}SCSS
$custom: #87186e; $custom-light: #ae6498; $custom-dark: #000000;
JSON
{
"hex": "#87186e",
"rgb": {
"r": 135,
"g": 24,
"b": 110
},
"hsl": {
"h": 313.514,
"s": 69.811,
"l": 31.176
},
"oklch": {
"l": 0.43331,
"c": 0.16918,
"h": 339.3
},
"luminance": 0.0693
}Semantic roles & 50–950 ramp
primary
#87186E
secondary
#40BB5C
accent
#ED633B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E