#871B43#871B43
#871B43 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.8% C 0.145 H 4.2°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #871B43 |
|---|---|
| RGB | rgb(135, 27, 67) |
| HSL | hsl(338, 67%, 32%) |
| HSV | hsv(338, 80%, 53%) |
| CMYK | cmyk(0%, 80%, 50.4%, 47.1%) |
| CIE-LAB | lab(30.26, 47.17, 3.93) |
| CIE-LCH | lch(30.26, 47.34, 4.77°) |
| OKLab | oklab(41.76% 0.1445 0.0105) |
| OKLCH | oklch(41.76% 0.145 4.2) |
| XYZ | xyz(11.3977, 6.3416, 5.9330) |
| Luminance | 0.0634 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.29
Purple Red
#990147
ΔE00 3.46
Berry
#990F4B
ΔE00 3.48
Mulberry
#920A4E
ΔE00 3.69
Red Purple
#820747
ΔE00 4.02
Reddish Purple
#910951
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871B43 #1B875F
analogous
#871B79 #871B43 #87291B
triadic
#871B43 #43871B #1B4387
tetradic
#871B43 #79871B #1B875F #291B87
square
#871B43 #79871B #1B875F #291B87
split-complementary
#871B43 #1B8729 #1B7987
monochromatic
#210710 #54112A #871B43 #BA255C #D9437B
Accessibility & contrast
On white
9.26
#871B43 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#871B43 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871B43
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871B43 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871B43 | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363A44
Deuteranopia (green-blind)
#534F40
Tritanopia (blue-blind)
#93002D
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #871b43; /* rgb */ color: rgb(135, 27, 67); /* oklch */ color: oklch(41.8% 0.145 4.2);
Tailwind
colors: {
custom: {
50: '#af6376',
500: '#871b43',
950: '#000000',
},
}SCSS
$custom: #871b43; $custom-light: #af6376; $custom-dark: #000000;
JSON
{
"hex": "#871b43",
"rgb": {
"r": 135,
"g": 27,
"b": 67
},
"hsl": {
"h": 337.778,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.41764,
"c": 0.14483,
"h": 4.2
},
"luminance": 0.0634
}Semantic roles & 50–950 ramp
primary
#871B43
secondary
#44BA8E
accent
#EAAA3E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B