#871F6E#871F6E
#871F6E is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.9% C 0.162 H 339.6°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #871F6E |
|---|---|
| RGB | rgb(135, 31, 110) |
| HSL | hsl(314, 63%, 33%) |
| HSV | hsv(314, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 18.5%, 47.1%) |
| CIE-LAB | lab(32.39, 50.99, -20.89) |
| CIE-LCH | lch(32.39, 55.11, 337.72°) |
| OKLab | oklab(43.86% 0.1519 -0.0565) |
| OKLCH | oklch(43.86% 0.162 339.6) |
| XYZ | xyz(13.2965, 7.2580, 15.4495) |
| Luminance | 0.0726 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 5.16
Red Violet
#9E0168
ΔE00 5.33
Rich Purple
#720058
ΔE00 5.98
Purple
#800080
ΔE00 6.25
Velvet
#750851
ΔE00 6.34
Darkmagenta
#8B008B
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F6E #1F8738
analogous
#6C1F87 #871F6E #871F3A
triadic
#871F6E #6E871F #1F6E87
tetradic
#871F6E #876C1F #1F8738 #1F3A87
square
#871F6E #876C1F #1F8738 #1F3A87
split-complementary
#871F6E #3A871F #1F876C
monochromatic
#23081D #551445 #871F6E #B92A97 #D64BB4
Accessibility & contrast
On white
8.57
#871F6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#871F6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F6E
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F6E | 1.00 | 8.57 | 2.45 | 8.57 |
| #FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264270
Deuteranopia (green-blind)
#48526C
Tritanopia (blue-blind)
#8F2344
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #871f6e; /* rgb */ color: rgb(135, 31, 110); /* oklch */ color: oklch(43.9% 0.162 339.6);
Tailwind
colors: {
custom: {
50: '#ad6698',
500: '#871f6e',
950: '#000000',
},
}SCSS
$custom: #871f6e; $custom-light: #ad6698; $custom-dark: #000000;
JSON
{
"hex": "#871f6e",
"rgb": {
"r": 135,
"g": 31,
"b": 110
},
"hsl": {
"h": 314.423,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.43862,
"c": 0.16207,
"h": 339.6
},
"luminance": 0.07257
}Semantic roles & 50–950 ramp
primary
#871F6E
secondary
#4AB864
accent
#E66942
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E