#871F4C#871F4C
#871F4C is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.4% C 0.143 H 359.2°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #871F4C |
|---|---|
| RGB | rgb(135, 31, 76) |
| HSL | hsl(334, 63%, 33%) |
| HSV | hsv(334, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 43.7%, 47.1%) |
| CIE-LAB | lab(31.01, 46.73, -0.94) |
| CIE-LCH | lch(31.01, 46.74, 358.85°) |
| OKLab | oklab(42.41% 0.1435 -0.0019) |
| OKLCH | oklch(42.41% 0.143 359.2) |
| XYZ | xyz(11.7870, 6.6542, 7.4998) |
| Luminance | 0.0665 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.54
Reddish Purple
#910951
ΔE00 2.81
Red Purple
#820747
ΔE00 2.94
Wine (survey)
#80013F
ΔE00 3.71
Berry
#990F4B
ΔE00 3.82
Dark Magenta
#960056
ΔE00 4.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F4C #1F875A
analogous
#871F80 #871F4C #87261F
triadic
#871F4C #4C871F #1F4C87
tetradic
#871F4C #80871F #1F875A #261F87
square
#871F4C #80871F #1F875A #261F87
split-complementary
#871F4C #1F8726 #1F8087
monochromatic
#230814 #551430 #871F4C #B92A68 #D64B87
Accessibility & contrast
On white
9.01
#871F4C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#871F4C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F4C
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F4C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F4C | 1.00 | 9.01 | 2.33 | 9.01 |
| #FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363C4D
Deuteranopia (green-blind)
#52504A
Tritanopia (blue-blind)
#930E33
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #871f4c; /* rgb */ color: rgb(135, 31, 76); /* oklch */ color: oklch(42.4% 0.143 359.2);
Tailwind
colors: {
custom: {
50: '#af657d',
500: '#871f4c',
950: '#000000',
},
}SCSS
$custom: #871f4c; $custom-light: #af657d; $custom-dark: #000000;
JSON
{
"hex": "#871f4c",
"rgb": {
"r": 135,
"g": 31,
"b": 76
},
"hsl": {
"h": 334.038,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.42405,
"c": 0.14349,
"h": 359.2
},
"luminance": 0.06653
}Semantic roles & 50–950 ramp
primary
#871F4C
secondary
#4AB888
accent
#E69F42
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B