#871B38#871B38
#871B38 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.143 H 11.0°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #871B38 |
|---|---|
| RGB | rgb(135, 27, 56) |
| HSL | hsl(344, 67%, 32%) |
| HSV | hsv(344, 80%, 53%) |
| CMYK | cmyk(0%, 80%, 58.5%, 47.1%) |
| CIE-LAB | lab(29.97, 46.26, 10.84) |
| CIE-LCH | lch(29.97, 47.51, 13.19°) |
| OKLab | oklab(41.45% 0.1401 0.0272) |
| OKLCH | oklch(41.45% 0.143 11) |
| XYZ | xyz(11.0985, 6.2219, 4.3572) |
| Luminance | 0.0622 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 2.24
Bordeaux
#7B002C
ΔE00 3.84
Cranberry
#9E003A
ΔE00 4.35
Purple Red
#990147
ΔE00 5.34
Wine Red
#7B0323
ΔE00 5.38
Berry
#990F4B
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871B38 #1B876A
analogous
#871B6E #871B38 #87341B
triadic
#871B38 #38871B #1B3887
tetradic
#871B38 #6E871B #1B876A #341B87
square
#871B38 #6E871B #1B876A #341B87
split-complementary
#871B38 #1B8734 #1B6E87
monochromatic
#21070E #541123 #871B38 #BA254D #D9436B
Accessibility & contrast
On white
9.36
#871B38 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#871B38 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871B38
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871B38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871B38 | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393938
Deuteranopia (green-blind)
#544E35
Tritanopia (blue-blind)
#940027
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #871b38; /* rgb */ color: rgb(135, 27, 56); /* oklch */ color: oklch(41.5% 0.143 11.0);
Tailwind
colors: {
custom: {
50: '#b0636e',
500: '#871b38',
950: '#000000',
},
}SCSS
$custom: #871b38; $custom-light: #b0636e; $custom-dark: #000000;
JSON
{
"hex": "#871b38",
"rgb": {
"r": 135,
"g": 27,
"b": 56
},
"hsl": {
"h": 343.889,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.41453,
"c": 0.14268,
"h": 11
},
"luminance": 0.0622
}Semantic roles & 50–950 ramp
primary
#871B38
secondary
#44BA9A
accent
#EABC3E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A