#871F6A#871F6A
#871F6A is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.7% C 0.159 H 341.7°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #871F6A |
|---|---|
| RGB | rgb(135, 31, 106) |
| HSL | hsl(317, 63%, 33%) |
| HSV | hsv(317, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 21.5%, 47.1%) |
| CIE-LAB | lab(32.20, 50.42, -18.63) |
| CIE-LCH | lch(32.20, 53.75, 339.72°) |
| OKLab | oklab(43.66% 0.1513 -0.0501) |
| OKLCH | oklch(43.66% 0.159 341.7) |
| XYZ | xyz(13.0836, 7.1728, 14.3283) |
| Luminance | 0.0717 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.82
Velvet
#750851
ΔE00 5.74
Rich Purple
#720058
ΔE00 5.78
Darkish Purple
#751973
ΔE00 5.87
Dark Magenta
#960056
ΔE00 6.69
Bruise
#7E4071
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F6A #1F873C
analogous
#701F87 #871F6A #871F36
triadic
#871F6A #6A871F #1F6A87
tetradic
#871F6A #87701F #1F873C #1F3687
square
#871F6A #87701F #1F873C #1F3687
split-complementary
#871F6A #36871F #1F8770
monochromatic
#23081C #551443 #871F6A #B92A91 #D64BAF
Accessibility & contrast
On white
8.63
#871F6A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#871F6A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F6A
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F6A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F6A | 1.00 | 8.63 | 2.43 | 8.63 |
| #FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29416C
Deuteranopia (green-blind)
#4A5268
Tritanopia (blue-blind)
#902142
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #871f6a; /* rgb */ color: rgb(135, 31, 106); /* oklch */ color: oklch(43.7% 0.159 341.7);
Tailwind
colors: {
custom: {
50: '#ae6694',
500: '#871f6a',
950: '#000000',
},
}SCSS
$custom: #871f6a; $custom-light: #ae6694; $custom-dark: #000000;
JSON
{
"hex": "#871f6a",
"rgb": {
"r": 135,
"g": 31,
"b": 106
},
"hsl": {
"h": 316.731,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.43663,
"c": 0.15938,
"h": 341.7
},
"luminance": 0.07171
}Semantic roles & 50–950 ramp
primary
#871F6A
secondary
#4AB868
accent
#E67042
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E