#871845#871845
#871845 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.6% C 0.148 H 2.4°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #871845 |
|---|---|
| RGB | rgb(135, 24, 69) |
| HSL | hsl(336, 70%, 31%) |
| HSV | hsv(336, 82%, 53%) |
| CMYK | cmyk(0%, 82.2%, 48.9%, 47.1%) |
| CIE-LAB | lab(30.00, 48.26, 2.23) |
| CIE-LCH | lch(30.00, 48.31, 2.64°) |
| OKLab | oklab(41.59% 0.1481 0.0062) |
| OKLCH | oklch(41.59% 0.148 2.4) |
| XYZ | xyz(11.3935, 6.2354, 6.2327) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.70
Mulberry
#920A4E
ΔE00 2.92
Red Purple
#820747
ΔE00 3.08
Berry
#990F4B
ΔE00 3.37
Purple Red
#990147
ΔE00 3.45
Reddish Purple
#910951
ΔE00 3.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871845 #18875A
analogous
#87187C #871845 #872318
triadic
#871845 #458718 #184587
tetradic
#871845 #7C8718 #18875A #231887
square
#871845 #7C8718 #18875A #231887
split-complementary
#871845 #188723 #187C87
monochromatic
#1F0610 #530F2A #871845 #BB2160 #DC3D7E
Accessibility & contrast
On white
9.35
#871845 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#871845 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871845
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871845 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871845 | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343946
Deuteranopia (green-blind)
#514E42
Tritanopia (blue-blind)
#93002C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #871845; /* rgb */ color: rgb(135, 24, 69); /* oklch */ color: oklch(41.6% 0.148 2.4);
Tailwind
colors: {
custom: {
50: '#af6278',
500: '#871845',
950: '#000000',
},
}SCSS
$custom: #871845; $custom-light: #af6278; $custom-dark: #000000;
JSON
{
"hex": "#871845",
"rgb": {
"r": 135,
"g": 24,
"b": 69
},
"hsl": {
"h": 335.676,
"s": 69.811,
"l": 31.176
},
"oklch": {
"l": 0.41593,
"c": 0.14825,
"h": 2.4
},
"luminance": 0.06234
}Semantic roles & 50–950 ramp
primary
#871845
secondary
#40BB89
accent
#EDA53B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B