#87165C#87165C
#87165C is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.3% C 0.160 H 348.7°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #87165C |
|---|---|
| RGB | rgb(135, 22, 92) |
| HSL | hsl(323, 72%, 31%) |
| HSV | hsv(323, 84%, 53%) |
| CMYK | cmyk(0%, 83.7%, 31.9%, 47.1%) |
| CIE-LAB | lab(30.64, 51.27, -11.98) |
| CIE-LCH | lch(30.64, 52.65, 346.85°) |
| OKLab | oklab(42.33% 0.1569 -0.0315) |
| OKLCH | oklch(42.33% 0.16 348.7) |
| XYZ | xyz(12.2110, 6.4989, 10.7345) |
| Luminance | 0.0650 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Magenta
#960056
ΔE00 3.99
Velvet
#750851
ΔE00 4.09
Red Violet
#9E0168
ΔE00 4.27
Reddish Purple
#910951
ΔE00 4.29
Red Purple
#820747
ΔE00 4.97
Dark Fuchsia
#9D0759
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87165C #168741
analogous
#791687 #87165C #871623
triadic
#87165C #5C8716 #165C87
tetradic
#87165C #877916 #168741 #162387
square
#87165C #877916 #168741 #162387
split-complementary
#87165C #238716 #168779
monochromatic
#1E0514 #520D38 #87165C #BC1F80 #DF39A0
Accessibility & contrast
On white
9.13
#87165C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#87165C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #87165C
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87165C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##87165C | 1.00 | 9.13 | 2.30 | 9.13 |
| #FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A3C5E
Deuteranopia (green-blind)
#4C4F5A
Tritanopia (blue-blind)
#910E38
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #87165c; /* rgb */ color: rgb(135, 22, 92); /* oklch */ color: oklch(42.3% 0.160 348.7);
Tailwind
colors: {
custom: {
50: '#ae628a',
500: '#87165c',
950: '#000000',
},
}SCSS
$custom: #87165c; $custom-light: #ae628a; $custom-dark: #000000;
JSON
{
"hex": "#87165c",
"rgb": {
"r": 135,
"g": 22,
"b": 92
},
"hsl": {
"h": 322.832,
"s": 71.975,
"l": 30.784
},
"oklch": {
"l": 0.4233,
"c": 0.15999,
"h": 348.7
},
"luminance": 0.06497
}Semantic roles & 50–950 ramp
primary
#87165C
secondary
#3EBB6D
accent
#EF7E39
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060B
muted
#807A7C