#871B51#871B51
#871B51 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.150 H 355.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #871B51 |
|---|---|
| RGB | rgb(135, 27, 81) |
| HSL | hsl(330, 67%, 32%) |
| HSV | hsv(330, 80%, 53%) |
| CMYK | cmyk(0%, 80%, 40%, 47.1%) |
| CIE-LAB | lab(30.71, 48.57, -4.66) |
| CIE-LCH | lch(30.71, 48.80, 354.52°) |
| OKLab | oklab(42.25% 0.1493 -0.0117) |
| OKLCH | oklch(42.25% 0.15 355.5) |
| XYZ | xyz(11.8696, 6.5304, 8.4184) |
| Luminance | 0.0653 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 2.16
Red Purple
#820747
ΔE00 2.63
Mulberry
#920A4E
ΔE00 2.69
Dark Magenta
#960056
ΔE00 3.02
Dark Fuchsia
#9D0759
ΔE00 4.07
Wine (survey)
#80013F
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871B51 #1B8751
analogous
#871B87 #871B51 #871B1B
triadic
#871B51 #51871B #1B5187
tetradic
#871B51 #87871B #1B8751 #1B1B87
square
#871B51 #87871B #1B8751 #1B1B87
split-complementary
#871B51 #1B871B #1B8787
monochromatic
#210714 #541132 #871B51 #BA2570 #D9438E
Accessibility & contrast
On white
9.11
#871B51 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#871B51 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871B51
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871B51 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871B51 | 1.00 | 9.11 | 2.31 | 9.11 |
| #FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323C52
Deuteranopia (green-blind)
#504F4F
Tritanopia (blue-blind)
#920B34
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #871b51; /* rgb */ color: rgb(135, 27, 81); /* oklch */ color: oklch(42.2% 0.150 355.5);
Tailwind
colors: {
custom: {
50: '#af6481',
500: '#871b51',
950: '#000000',
},
}SCSS
$custom: #871b51; $custom-light: #af6481; $custom-dark: #000000;
JSON
{
"hex": "#871b51",
"rgb": {
"r": 135,
"g": 27,
"b": 81
},
"hsl": {
"h": 330,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.42246,
"c": 0.14978,
"h": 355.5
},
"luminance": 0.06529
}Semantic roles & 50–950 ramp
primary
#871B51
secondary
#44BA7F
accent
#EA943E
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C