#871F46#871F46
#871F46 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.2% C 0.142 H 3.1°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #871F46 |
|---|---|
| RGB | rgb(135, 31, 70) |
| HSL | hsl(338, 63%, 33%) |
| HSV | hsv(338, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 48.1%, 47.1%) |
| CIE-LAB | lab(30.82, 46.13, 2.75) |
| CIE-LCH | lch(30.82, 46.21, 3.41°) |
| OKLab | oklab(42.21% 0.1413 0.0075) |
| OKLCH | oklch(42.21% 0.142 3.1) |
| XYZ | xyz(11.5881, 6.5746, 6.4520) |
| Luminance | 0.0657 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 3.43
Berry
#990F4B
ΔE00 3.45
Wine (survey)
#80013F
ΔE00 3.59
Purple Red
#990147
ΔE00 3.67
Red Purple
#820747
ΔE00 3.90
Reddish Purple
#910951
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F46 #1F8760
analogous
#871F7A #871F46 #872C1F
triadic
#871F46 #46871F #1F4687
tetradic
#871F46 #7A871F #1F8760 #2C1F87
square
#871F46 #7A871F #1F8760 #2C1F87
split-complementary
#871F46 #1F872C #1F7A87
monochromatic
#230812 #55142C #871F46 #B92A60 #D64B7F
Accessibility & contrast
On white
9.07
#871F46 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#871F46 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F46
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F46 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F46 | 1.00 | 9.07 | 2.31 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373C47
Deuteranopia (green-blind)
#535044
Tritanopia (blue-blind)
#930930
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #871f46; /* rgb */ color: rgb(135, 31, 70); /* oklch */ color: oklch(42.2% 0.142 3.1);
Tailwind
colors: {
custom: {
50: '#af6579',
500: '#871f46',
950: '#000000',
},
}SCSS
$custom: #871f46; $custom-light: #af6579; $custom-dark: #000000;
JSON
{
"hex": "#871f46",
"rgb": {
"r": 135,
"g": 31,
"b": 70
},
"hsl": {
"h": 337.5,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.42205,
"c": 0.14151,
"h": 3.1
},
"luminance": 0.06573
}Semantic roles & 50–950 ramp
primary
#871F46
secondary
#4AB88F
accent
#E6A842
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B