#871946#871946
#871946 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.148 H 2.0°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #871946 |
|---|---|
| RGB | rgb(135, 25, 70) |
| HSL | hsl(335, 69%, 31%) |
| HSV | hsv(335, 81%, 53%) |
| CMYK | cmyk(0%, 81.5%, 48.1%, 47.1%) |
| CIE-LAB | lab(30.13, 48.06, 1.76) |
| CIE-LCH | lch(30.13, 48.10, 2.09°) |
| OKLab | oklab(41.7% 0.1475 0.005) |
| OKLCH | oklch(41.7% 0.148 2) |
| XYZ | xyz(11.4458, 6.2899, 6.4045) |
| Luminance | 0.0629 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.78
Mulberry
#920A4E
ΔE00 2.78
Red Purple
#820747
ΔE00 2.97
Berry
#990F4B
ΔE00 3.38
Reddish Purple
#910951
ΔE00 3.45
Purple Red
#990147
ΔE00 3.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871946 #19875A
analogous
#87197D #871946 #872319
triadic
#871946 #468719 #194687
tetradic
#871946 #7D8719 #19875A #231987
square
#871946 #7D8719 #19875A #231987
split-complementary
#871946 #198723 #197D87
monochromatic
#200610 #530F2B #871946 #BB2361 #DB3F7F
Accessibility & contrast
On white
9.30
#871946 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#871946 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871946
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871946 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871946 | 1.00 | 9.30 | 2.26 | 9.30 |
| #FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343947
Deuteranopia (green-blind)
#524F43
Tritanopia (blue-blind)
#93002D
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #871946; /* rgb */ color: rgb(135, 25, 70); /* oklch */ color: oklch(41.7% 0.148 2.0);
Tailwind
colors: {
custom: {
50: '#af6379',
500: '#871946',
950: '#000000',
},
}SCSS
$custom: #871946; $custom-light: #af6379; $custom-dark: #000000;
JSON
{
"hex": "#871946",
"rgb": {
"r": 135,
"g": 25,
"b": 70
},
"hsl": {
"h": 335.455,
"s": 68.75,
"l": 31.373
},
"oklch": {
"l": 0.41701,
"c": 0.14763,
"h": 2
},
"luminance": 0.06288
}Semantic roles & 50–950 ramp
primary
#871946
secondary
#41BA89
accent
#ECA43C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B