#871848#871848
#871848 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.149 H 0.6°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #871848 |
|---|---|
| RGB | rgb(135, 24, 72) |
| HSL | hsl(334, 70%, 31%) |
| HSV | hsv(334, 82%, 53%) |
| CMYK | cmyk(0%, 82.2%, 46.7%, 47.1%) |
| CIE-LAB | lab(30.09, 48.55, 0.37) |
| CIE-LCH | lch(30.09, 48.55, 0.44°) |
| OKLab | oklab(41.69% 0.1492 0.0015) |
| OKLCH | oklch(41.69% 0.149 0.6) |
| XYZ | xyz(11.4889, 6.2736, 6.7356) |
| Luminance | 0.0627 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.36
Red Purple
#820747
ΔE00 2.43
Wine (survey)
#80013F
ΔE00 2.73
Reddish Purple
#910951
ΔE00 2.86
Berry
#990F4B
ΔE00 3.52
Purple Red
#990147
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871848 #188757
analogous
#87187F #871848 #871F18
triadic
#871848 #488718 #184887
tetradic
#871848 #7F8718 #188757 #1F1887
square
#871848 #7F8718 #188757 #1F1887
split-complementary
#871848 #18871F #187F87
monochromatic
#1F0611 #530F2C #871848 #BB2164 #DC3D82
Accessibility & contrast
On white
9.32
#871848 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#871848 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871848
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871848 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871848 | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333949
Deuteranopia (green-blind)
#514E45
Tritanopia (blue-blind)
#93002E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #871848; /* rgb */ color: rgb(135, 24, 72); /* oklch */ color: oklch(41.7% 0.149 0.6);
Tailwind
colors: {
custom: {
50: '#af627a',
500: '#871848',
950: '#000000',
},
}SCSS
$custom: #871848; $custom-light: #af627a; $custom-dark: #000000;
JSON
{
"hex": "#871848",
"rgb": {
"r": 135,
"g": 24,
"b": 72
},
"hsl": {
"h": 334.054,
"s": 69.811,
"l": 31.176
},
"oklch": {
"l": 0.41692,
"c": 0.14921,
"h": 0.6
},
"luminance": 0.06272
}Semantic roles & 50–950 ramp
primary
#871848
secondary
#40BB86
accent
#EDA03B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B