#872047#872047
#872047 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.141 H 2.6°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #872047 |
|---|---|
| RGB | rgb(135, 32, 71) |
| HSL | hsl(337, 62%, 33%) |
| HSV | hsv(337, 76%, 53%) |
| CMYK | cmyk(0%, 76.3%, 47.4%, 47.1%) |
| CIE-LAB | lab(30.97, 45.87, 2.31) |
| CIE-LCH | lch(30.97, 45.93, 2.89°) |
| OKLab | oklab(42.33% 0.1406 0.0064) |
| OKLCH | oklch(42.33% 0.141 2.6) |
| XYZ | xyz(11.6465, 6.6404, 6.6285) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 3.35
Berry
#990F4B
ΔE00 3.47
Wine (survey)
#80013F
ΔE00 3.68
Purple Red
#990147
ΔE00 3.76
Red Purple
#820747
ΔE00 3.85
Reddish Purple
#910951
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#872047 #208760
analogous
#87207A #872047 #872D20
triadic
#872047 #478720 #204787
tetradic
#872047 #7A8720 #208760 #2D2087
square
#872047 #7A8720 #208760 #2D2087
split-complementary
#872047 #20872D #207A87
monochromatic
#240913 #56142D #872047 #B82C61 #D54D80
Accessibility & contrast
On white
9.02
#872047 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#872047 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #872047
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##872047 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##872047 | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383C48
Deuteranopia (green-blind)
#535045
Tritanopia (blue-blind)
#930C31
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #872047; /* rgb */ color: rgb(135, 32, 71); /* oklch */ color: oklch(42.3% 0.141 2.6);
Tailwind
colors: {
custom: {
50: '#af657a',
500: '#872047',
950: '#000000',
},
}SCSS
$custom: #872047; $custom-light: #af657a; $custom-dark: #000000;
JSON
{
"hex": "#872047",
"rgb": {
"r": 135,
"g": 32,
"b": 71
},
"hsl": {
"h": 337.282,
"s": 61.677,
"l": 32.745
},
"oklch": {
"l": 0.42329,
"c": 0.14071,
"h": 2.6
},
"luminance": 0.06639
}Semantic roles & 50–950 ramp
primary
#872047
secondary
#4BB88F
accent
#E5A843
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B