#871C62#871C62
#871C62 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.158 H 345.8°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #871C62 |
|---|---|
| RGB | rgb(135, 28, 98) |
| HSL | hsl(321, 66%, 32%) |
| HSV | hsv(321, 79%, 53%) |
| CMYK | cmyk(0%, 79.3%, 27.4%, 47.1%) |
| CIE-LAB | lab(31.50, 50.30, -14.56) |
| CIE-LCH | lch(31.50, 52.37, 343.85°) |
| OKLab | oklab(43.04% 0.1528 -0.0387) |
| OKLCH | oklch(43.04% 0.158 345.8) |
| XYZ | xyz(12.6121, 6.8647, 12.2137) |
| Luminance | 0.0686 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.23
Velvet
#750851
ΔE00 4.69
Dark Magenta
#960056
ΔE00 5.06
Reddish Purple
#910951
ΔE00 5.52
Rich Purple
#720058
ΔE00 5.60
Deep Magenta
#A0025C
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871C62 #1C8741
analogous
#771C87 #871C62 #871C2C
triadic
#871C62 #62871C #1C6287
tetradic
#871C62 #87771C #1C8741 #1C2C87
square
#871C62 #87771C #1C8741 #1C2C87
split-complementary
#871C62 #2C871C #1C8777
monochromatic
#220718 #54113D #871C62 #BA2787 #D845A5
Accessibility & contrast
On white
8.85
#871C62 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#871C62 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871C62
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871C62 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871C62 | 1.00 | 8.85 | 2.37 | 8.85 |
| #FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3F64
Deuteranopia (green-blind)
#4B5160
Tritanopia (blue-blind)
#91193D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #871c62; /* rgb */ color: rgb(135, 28, 98); /* oklch */ color: oklch(43.0% 0.158 345.8);
Tailwind
colors: {
custom: {
50: '#ae658e',
500: '#871c62',
950: '#000000',
},
}SCSS
$custom: #871c62; $custom-light: #ae658e; $custom-dark: #000000;
JSON
{
"hex": "#871c62",
"rgb": {
"r": 135,
"g": 28,
"b": 98
},
"hsl": {
"h": 320.748,
"s": 65.644,
"l": 31.961
},
"oklch": {
"l": 0.43037,
"c": 0.1576,
"h": 345.8
},
"luminance": 0.06863
}Semantic roles & 50–950 ramp
primary
#871C62
secondary
#45BA6D
accent
#E97A3F
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D