#87186F#87186F
#87186F is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.4% C 0.170 H 338.8°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #87186F |
|---|---|
| RGB | rgb(135, 24, 111) |
| HSL | hsl(313, 70%, 31%) |
| HSV | hsv(313, 82%, 53%) |
| CMYK | cmyk(0%, 82.2%, 17.8%, 47.1%) |
| CIE-LAB | lab(31.70, 53.25, -22.60) |
| CIE-LCH | lch(31.70, 57.84, 337.00°) |
| OKLab | oklab(43.38% 0.1584 -0.0613) |
| OKLCH | oklch(43.38% 0.17 338.8) |
| XYZ | xyz(13.1879, 6.9532, 15.6834) |
| Luminance | 0.0695 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.57
Purple
#800080
ΔE00 5.43
Rich Purple
#720058
ΔE00 5.60
Red Violet
#9E0168
ΔE00 5.62
Darkmagenta
#8B008B
ΔE00 5.94
Velvet
#750851
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87186F #188730
analogous
#671887 #87186F #871837
triadic
#87186F #6F8718 #186F87
tetradic
#87186F #876718 #188730 #183787
square
#87186F #876718 #188730 #183787
split-complementary
#87186F #378718 #188767
monochromatic
#1F061A #530F44 #87186F #BB219A #DC3DBA
Accessibility & contrast
On white
8.79
#87186F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#87186F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #87186F
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87186F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##87186F | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4071
Deuteranopia (green-blind)
#46516D
Tritanopia (blue-blind)
#8F1E43
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #87186f; /* rgb */ color: rgb(135, 24, 111); /* oklch */ color: oklch(43.4% 0.170 338.8);
Tailwind
colors: {
custom: {
50: '#ae6498',
500: '#87186f',
950: '#000000',
},
}SCSS
$custom: #87186f; $custom-light: #ae6498; $custom-dark: #000000;
JSON
{
"hex": "#87186f",
"rgb": {
"r": 135,
"g": 24,
"b": 111
},
"hsl": {
"h": 312.973,
"s": 69.811,
"l": 31.176
},
"oklch": {
"l": 0.43383,
"c": 0.16985,
"h": 338.8
},
"luminance": 0.06952
}Semantic roles & 50–950 ramp
primary
#87186F
secondary
#40BB5B
accent
#ED623B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E