#872571#872571
#872571 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.6% C 0.157 H 338.3°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #872571 |
|---|---|
| RGB | rgb(135, 37, 113) |
| HSL | hsl(313, 57%, 34%) |
| HSV | hsv(313, 73%, 53%) |
| CMYK | cmyk(0%, 72.6%, 16.3%, 47.1%) |
| CIE-LAB | lab(33.28, 49.32, -21.41) |
| CIE-LCH | lch(33.28, 53.77, 336.54°) |
| OKLab | oklab(44.56% 0.1459 -0.058) |
| OKLCH | oklch(44.56% 0.157 338.3) |
| XYZ | xyz(13.6342, 7.6676, 16.3815) |
| Luminance | 0.0767 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 5.26
Red Violet
#9E0168
ΔE00 5.75
Warm Purple
#952E8F
ΔE00 5.94
Bruise
#7E4071
ΔE00 6.00
Purple
#800080
ΔE00 6.38
Darkmagenta
#8B008B
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#872571 #25873B
analogous
#6C2587 #872571 #872540
triadic
#872571 #718725 #257187
tetradic
#872571 #876C25 #25873B #254087
square
#872571 #876C25 #25873B #254087
split-complementary
#872571 #408725 #25876C
monochromatic
#270B21 #571849 #872571 #B73299 #D156B5
Accessibility & contrast
On white
8.29
#872571 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#872571 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #872571
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##872571 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##872571 | 1.00 | 8.29 | 2.53 | 8.29 |
| #FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294573
Deuteranopia (green-blind)
#49546F
Tritanopia (blue-blind)
#8F2948
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #872571; /* rgb */ color: rgb(135, 37, 113); /* oklch */ color: oklch(44.6% 0.157 338.3);
Tailwind
colors: {
custom: {
50: '#ad699a',
500: '#872571',
950: '#000000',
},
}SCSS
$custom: #872571; $custom-light: #ad699a; $custom-dark: #000000;
JSON
{
"hex": "#872571",
"rgb": {
"r": 135,
"g": 37,
"b": 113
},
"hsl": {
"h": 313.469,
"s": 56.977,
"l": 33.725
},
"oklch": {
"l": 0.44556,
"c": 0.15704,
"h": 338.3
},
"luminance": 0.07666
}Semantic roles & 50–950 ramp
primary
#872571
secondary
#53B569
accent
#E06A48
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E