#871E4B#871E4B
#871E4B is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.144 H 359.7°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #871E4B |
|---|---|
| RGB | rgb(135, 30, 75) |
| HSL | hsl(334, 64%, 32%) |
| HSV | hsv(334, 78%, 53%) |
| CMYK | cmyk(0%, 77.8%, 44.4%, 47.1%) |
| CIE-LAB | lab(30.85, 46.96, -0.50) |
| CIE-LCH | lch(30.85, 46.97, 359.38°) |
| OKLab | oklab(42.28% 0.1442 -0.0008) |
| OKLCH | oklch(42.28% 0.144 359.7) |
| XYZ | xyz(11.7268, 6.5890, 7.3095) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.51
Reddish Purple
#910951
ΔE00 2.85
Red Purple
#820747
ΔE00 2.87
Wine (survey)
#80013F
ΔE00 3.52
Berry
#990F4B
ΔE00 3.70
Dark Magenta
#960056
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871E4B #1E875A
analogous
#871E7F #871E4B #87261E
triadic
#871E4B #4B871E #1E4B87
tetradic
#871E4B #7F871E #1E875A #261E87
square
#871E4B #7F871E #1E875A #261E87
split-complementary
#871E4B #1E8726 #1E7F87
monochromatic
#230813 #55132F #871E4B #B92967 #D74986
Accessibility & contrast
On white
9.06
#871E4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#871E4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871E4B
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871E4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871E4B | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353C4C
Deuteranopia (green-blind)
#525049
Tritanopia (blue-blind)
#930B32
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #871e4b; /* rgb */ color: rgb(135, 30, 75); /* oklch */ color: oklch(42.3% 0.144 359.7);
Tailwind
colors: {
custom: {
50: '#af657d',
500: '#871e4b',
950: '#000000',
},
}SCSS
$custom: #871e4b; $custom-light: #af657d; $custom-dark: #000000;
JSON
{
"hex": "#871e4b",
"rgb": {
"r": 135,
"g": 30,
"b": 75
},
"hsl": {
"h": 334.286,
"s": 63.636,
"l": 32.353
},
"oklch": {
"l": 0.42281,
"c": 0.14423,
"h": 359.7
},
"luminance": 0.06587
}Semantic roles & 50–950 ramp
primary
#871E4B
secondary
#48B988
accent
#E7A041
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B