#871F6F#871F6F
#871F6F is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.9% C 0.163 H 339.1°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #871F6F |
|---|---|
| RGB | rgb(135, 31, 111) |
| HSL | hsl(314, 63%, 33%) |
| HSV | hsv(314, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 17.8%, 47.1%) |
| CIE-LAB | lab(32.44, 51.14, -21.45) |
| CIE-LCH | lch(32.44, 55.46, 337.24°) |
| OKLab | oklab(43.91% 0.152 -0.0581) |
| OKLCH | oklch(43.91% 0.163 339.1) |
| XYZ | xyz(13.3512, 7.2799, 15.7379) |
| Luminance | 0.0728 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 5.00
Red Violet
#9E0168
ΔE00 5.47
Purple
#800080
ΔE00 6.05
Rich Purple
#720058
ΔE00 6.05
Darkmagenta
#8B008B
ΔE00 6.41
Warm Purple
#952E8F
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F6F #1F8737
analogous
#6B1F87 #871F6F #871F3B
triadic
#871F6F #6F871F #1F6F87
tetradic
#871F6F #876B1F #1F8737 #1F3B87
square
#871F6F #876B1F #1F8737 #1F3B87
split-complementary
#871F6F #3B871F #1F876B
monochromatic
#23081D #551446 #871F6F #B92A98 #D64BB6
Accessibility & contrast
On white
8.55
#871F6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#871F6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F6F
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F6F | 1.00 | 8.55 | 2.46 | 8.55 |
| #FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254271
Deuteranopia (green-blind)
#48526D
Tritanopia (blue-blind)
#8F2345
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #871f6f; /* rgb */ color: rgb(135, 31, 111); /* oklch */ color: oklch(43.9% 0.163 339.1);
Tailwind
colors: {
custom: {
50: '#ad6698',
500: '#871f6f',
950: '#000000',
},
}SCSS
$custom: #871f6f; $custom-light: #ad6698; $custom-dark: #000000;
JSON
{
"hex": "#871f6f",
"rgb": {
"r": 135,
"g": 31,
"b": 111
},
"hsl": {
"h": 313.846,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.43913,
"c": 0.16275,
"h": 339.1
},
"luminance": 0.07279
}Semantic roles & 50–950 ramp
primary
#871F6F
secondary
#4AB863
accent
#E66842
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E