#871F6D#871F6D
#871F6D is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.8% C 0.161 H 340.1°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).
Color values
| HEX | #871F6D |
|---|---|
| RGB | rgb(135, 31, 109) |
| HSL | hsl(315, 63%, 33%) |
| HSV | hsv(315, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 19.3%, 47.1%) |
| CIE-LAB | lab(32.34, 50.85, -20.33) |
| CIE-LCH | lch(32.34, 54.76, 338.21°) |
| OKLab | oklab(43.81% 0.1518 -0.0549) |
| OKLCH | oklch(43.81% 0.161 340.1) |
| XYZ | xyz(13.2424, 7.2363, 15.1644) |
| Luminance | 0.0723 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.19
Darkish Purple
#751973
ΔE00 5.33
Rich Purple
#720058
ΔE00 5.92
Velvet
#750851
ΔE00 6.18
Purple
#800080
ΔE00 6.46
Bruise
#7E4071
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F6D #1F8739
analogous
#6D1F87 #871F6D #871F39
triadic
#871F6D #6D871F #1F6D87
tetradic
#871F6D #876D1F #1F8739 #1F3987
square
#871F6D #876D1F #1F8739 #1F3987
split-complementary
#871F6D #39871F #1F876D
monochromatic
#23081D #551445 #871F6D #B92A95 #D64BB3
Accessibility & contrast
On white
8.58
#871F6D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#871F6D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F6D
8.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F6D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F6D | 1.00 | 8.58 | 2.45 | 8.58 |
| #FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27426F
Deuteranopia (green-blind)
#49526B
Tritanopia (blue-blind)
#8F2244
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #871f6d; /* rgb */ color: rgb(135, 31, 109); /* oklch */ color: oklch(43.8% 0.161 340.1);
Tailwind
colors: {
custom: {
50: '#ae6697',
500: '#871f6d',
950: '#000000',
},
}SCSS
$custom: #871f6d; $custom-light: #ae6697; $custom-dark: #000000;
JSON
{
"hex": "#871f6d",
"rgb": {
"r": 135,
"g": 31,
"b": 109
},
"hsl": {
"h": 315,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.43812,
"c": 0.16138,
"h": 340.1
},
"luminance": 0.07235
}Semantic roles & 50–950 ramp
primary
#871F6D
secondary
#4AB865
accent
#E66B42
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E