#872871#872871
#872871 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.9% C 0.153 H 338.5°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #872871 |
|---|---|
| RGB | rgb(135, 40, 113) |
| HSL | hsl(314, 54%, 34%) |
| HSV | hsv(314, 70%, 53%) |
| CMYK | cmyk(0%, 70.4%, 16.3%, 47.1%) |
| CIE-LAB | lab(33.69, 48.16, -20.76) |
| CIE-LCH | lch(33.69, 52.45, 336.68°) |
| OKLab | oklab(44.86% 0.1425 -0.0562) |
| OKLCH | oklch(44.86% 0.153 338.5) |
| XYZ | xyz(13.7314, 7.8620, 16.4139) |
| Luminance | 0.0786 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 5.53
Darkish Purple
#751973
ΔE00 5.62
Red Violet
#9E0168
ΔE00 5.80
Warm Purple
#952E8F
ΔE00 5.91
Grape
#6C3461
ΔE00 6.42
Light Eggplant
#894585
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#872871 #28873E
analogous
#6E2887 #872871 #872841
triadic
#872871 #718728 #287187
tetradic
#872871 #876E28 #28873E #284187
square
#872871 #876E28 #28873E #284187
split-complementary
#872871 #418728 #28876E
monochromatic
#290C22 #581A49 #872871 #B63699 #CE5BB4
Accessibility & contrast
On white
8.16
#872871 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#872871 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #872871
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##872871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##872871 | 1.00 | 8.16 | 2.57 | 8.16 |
| #FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4673
Deuteranopia (green-blind)
#4B556F
Tritanopia (blue-blind)
#8F2C49
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #872871; /* rgb */ color: rgb(135, 40, 113); /* oklch */ color: oklch(44.9% 0.153 338.5);
Tailwind
colors: {
custom: {
50: '#ad6a9a',
500: '#872871',
950: '#000000',
},
}SCSS
$custom: #872871; $custom-light: #ad6a9a; $custom-dark: #000000;
JSON
{
"hex": "#872871",
"rgb": {
"r": 135,
"g": 40,
"b": 113
},
"hsl": {
"h": 313.895,
"s": 54.286,
"l": 34.314
},
"oklch": {
"l": 0.44856,
"c": 0.15314,
"h": 338.5
},
"luminance": 0.07861
}Semantic roles & 50–950 ramp
primary
#872871
secondary
#57B46D
accent
#DE6C4A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E