#871A36#871A36
#871A36 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.3% C 0.143 H 12.0°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #871A36 |
|---|---|
| RGB | rgb(135, 26, 54) |
| HSL | hsl(345, 68%, 32%) |
| HSV | hsv(345, 81%, 53%) |
| CMYK | cmyk(0%, 80.7%, 60%, 47.1%) |
| CIE-LAB | lab(29.81, 46.43, 11.96) |
| CIE-LCH | lch(29.81, 47.94, 14.44°) |
| OKLab | oklab(41.32% 0.1403 0.0297) |
| OKLCH | oklch(41.32% 0.143 12) |
| XYZ | xyz(11.0280, 6.1577, 4.0972) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 2.17
Bordeaux
#7B002C
ΔE00 3.71
Cranberry
#9E003A
ΔE00 4.28
Wine Red
#7B0323
ΔE00 4.87
Burgundy
#800020
ΔE00 5.73
Purple Red
#990147
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871A36 #1A876B
analogous
#871A6D #871A36 #87351A
triadic
#871A36 #36871A #1A3687
tetradic
#871A36 #6D871A #1A876B #351A87
square
#871A36 #6D871A #1A876B #351A87
split-complementary
#871A36 #1A8735 #1A6D87
monochromatic
#20060D #541021 #871A36 #BA244B #DA4168
Accessibility & contrast
On white
9.41
#871A36 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#871A36 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871A36
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871A36 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871A36 | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383836
Deuteranopia (green-blind)
#544E33
Tritanopia (blue-blind)
#940026
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #871a36; /* rgb */ color: rgb(135, 26, 54); /* oklch */ color: oklch(41.3% 0.143 12.0);
Tailwind
colors: {
custom: {
50: '#b0626c',
500: '#871a36',
950: '#000000',
},
}SCSS
$custom: #871a36; $custom-light: #b0626c; $custom-dark: #000000;
JSON
{
"hex": "#871a36",
"rgb": {
"r": 135,
"g": 26,
"b": 54
},
"hsl": {
"h": 344.587,
"s": 67.702,
"l": 31.569
},
"oklch": {
"l": 0.4132,
"c": 0.14337,
"h": 12
},
"luminance": 0.06156
}Semantic roles & 50–950 ramp
primary
#871A36
secondary
#42BA9C
accent
#EBBE3D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A