#871F71#871F71
#871F71 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.0% C 0.164 H 338.1°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #871F71 |
|---|---|
| RGB | rgb(135, 31, 113) |
| HSL | hsl(313, 63%, 33%) |
| HSV | hsv(313, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 16.3%, 47.1%) |
| CIE-LAB | lab(32.53, 51.44, -22.57) |
| CIE-LCH | lch(32.53, 56.17, 336.31°) |
| OKLab | oklab(44.02% 0.1523 -0.0613) |
| OKLCH | oklch(44.02% 0.164 338.1) |
| XYZ | xyz(13.4626, 7.3244, 16.3243) |
| Luminance | 0.0732 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.70
Purple
#800080
ΔE00 5.66
Red Violet
#9E0168
ΔE00 5.77
Darkmagenta
#8B008B
ΔE00 5.97
Warm Purple
#952E8F
ΔE00 6.11
Rich Purple
#720058
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F71 #1F8735
analogous
#691F87 #871F71 #871F3D
triadic
#871F71 #71871F #1F7187
tetradic
#871F71 #87691F #1F8735 #1F3D87
square
#871F71 #87691F #1F8735 #1F3D87
split-complementary
#871F71 #3D871F #1F8769
monochromatic
#23081E #551447 #871F71 #B92A9B #D64BB8
Accessibility & contrast
On white
8.52
#871F71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#871F71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F71
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F71 | 1.00 | 8.52 | 2.46 | 8.52 |
| #FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244273
Deuteranopia (green-blind)
#47526F
Tritanopia (blue-blind)
#8F2546
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #871f71; /* rgb */ color: rgb(135, 31, 113); /* oklch */ color: oklch(44.0% 0.164 338.1);
Tailwind
colors: {
custom: {
50: '#ad669a',
500: '#871f71',
950: '#000000',
},
}SCSS
$custom: #871f71; $custom-light: #ad669a; $custom-dark: #000000;
JSON
{
"hex": "#871f71",
"rgb": {
"r": 135,
"g": 31,
"b": 113
},
"hsl": {
"h": 312.692,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.44016,
"c": 0.16415,
"h": 338.1
},
"luminance": 0.07323
}Semantic roles & 50–950 ramp
primary
#871F71
secondary
#4AB861
accent
#E66542
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E