#871F62#871F62
#871F62 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.3% C 0.154 H 346.0°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #871F62 |
|---|---|
| RGB | rgb(135, 31, 98) |
| HSL | hsl(321, 63%, 33%) |
| HSV | hsv(321, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 27.4%, 47.1%) |
| CIE-LAB | lab(31.84, 49.33, -14.04) |
| CIE-LCH | lch(31.84, 51.29, 344.11°) |
| OKLab | oklab(43.29% 0.1498 -0.0372) |
| OKLCH | oklch(43.29% 0.154 346) |
| XYZ | xyz(12.6868, 7.0141, 12.2386) |
| Luminance | 0.0701 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.27
Velvet
#750851
ΔE00 4.91
Dark Magenta
#960056
ΔE00 5.03
Reddish Purple
#910951
ΔE00 5.45
Dark Fuchsia
#9D0759
ΔE00 5.85
Deep Magenta
#A0025C
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F62 #1F8744
analogous
#781F87 #871F62 #871F2E
triadic
#871F62 #62871F #1F6287
tetradic
#871F62 #87781F #1F8744 #1F2E87
square
#871F62 #87781F #1F8744 #1F2E87
split-complementary
#871F62 #2E871F #1F8778
monochromatic
#23081A #55143E #871F62 #B92A86 #D64BA4
Accessibility & contrast
On white
8.74
#871F62 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#871F62 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F62
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F62 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F62 | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4064
Deuteranopia (green-blind)
#4C5160
Tritanopia (blue-blind)
#911C3E
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #871f62; /* rgb */ color: rgb(135, 31, 98); /* oklch */ color: oklch(43.3% 0.154 346.0);
Tailwind
colors: {
custom: {
50: '#ae668e',
500: '#871f62',
950: '#000000',
},
}SCSS
$custom: #871f62; $custom-light: #ae668e; $custom-dark: #000000;
JSON
{
"hex": "#871f62",
"rgb": {
"r": 135,
"g": 31,
"b": 98
},
"hsl": {
"h": 321.346,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.43286,
"c": 0.15432,
"h": 346
},
"luminance": 0.07013
}Semantic roles & 50–950 ramp
primary
#871F62
secondary
#4AB871
accent
#E67C42
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D