#871F4B#871F4B
#871F4B is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.143 H 359.9°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #871F4B |
|---|---|
| RGB | rgb(135, 31, 75) |
| HSL | hsl(335, 63%, 33%) |
| HSV | hsv(335, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 44.4%, 47.1%) |
| CIE-LAB | lab(30.97, 46.62, -0.33) |
| CIE-LCH | lch(30.97, 46.62, 359.60°) |
| OKLab | oklab(42.37% 0.1431 -0.0003) |
| OKLCH | oklch(42.37% 0.143 359.9) |
| XYZ | xyz(11.7526, 6.6404, 7.3181) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.61
Reddish Purple
#910951
ΔE00 2.98
Red Purple
#820747
ΔE00 3.03
Wine (survey)
#80013F
ΔE00 3.62
Berry
#990F4B
ΔE00 3.69
Purple Red
#990147
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F4B #1F875B
analogous
#871F7F #871F4B #87271F
triadic
#871F4B #4B871F #1F4B87
tetradic
#871F4B #7F871F #1F875B #271F87
square
#871F4B #7F871F #1F875B #271F87
split-complementary
#871F4B #1F8727 #1F7F87
monochromatic
#230814 #55142F #871F4B #B92A67 #D64B86
Accessibility & contrast
On white
9.02
#871F4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#871F4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F4B
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F4B | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363C4C
Deuteranopia (green-blind)
#525049
Tritanopia (blue-blind)
#930D32
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #871f4b; /* rgb */ color: rgb(135, 31, 75); /* oklch */ color: oklch(42.4% 0.143 359.9);
Tailwind
colors: {
custom: {
50: '#af657d',
500: '#871f4b',
950: '#000000',
},
}SCSS
$custom: #871f4b; $custom-light: #af657d; $custom-dark: #000000;
JSON
{
"hex": "#871f4b",
"rgb": {
"r": 135,
"g": 31,
"b": 75
},
"hsl": {
"h": 334.615,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.4237,
"c": 0.14313,
"h": 359.9
},
"luminance": 0.06639
}Semantic roles & 50–950 ramp
primary
#871F4B
secondary
#4AB889
accent
#E6A042
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B