#872771#872771
#872771 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.8% C 0.154 H 338.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #872771 |
|---|---|
| RGB | rgb(135, 39, 113) |
| HSL | hsl(314, 55%, 34%) |
| HSV | hsv(314, 71%, 53%) |
| CMYK | cmyk(0%, 71.1%, 16.3%, 47.1%) |
| CIE-LAB | lab(33.55, 48.56, -20.98) |
| CIE-LCH | lch(33.55, 52.89, 336.63°) |
| OKLab | oklab(44.75% 0.1436 -0.0568) |
| OKLCH | oklch(44.75% 0.154 338.4) |
| XYZ | xyz(13.6981, 7.7954, 16.4028) |
| Luminance | 0.0779 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 5.49
Bruise
#7E4071
ΔE00 5.69
Red Violet
#9E0168
ΔE00 5.78
Warm Purple
#952E8F
ΔE00 5.92
Grape
#6C3461
ΔE00 6.50
Purple
#800080
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#872771 #27873D
analogous
#6D2787 #872771 #872741
triadic
#872771 #718727 #277187
tetradic
#872771 #876D27 #27873D #274187
square
#872771 #876D27 #27873D #274187
split-complementary
#872771 #418727 #27876D
monochromatic
#280C22 #581949 #872771 #B63599 #CF59B4
Accessibility & contrast
On white
8.21
#872771 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#872771 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #872771
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##872771 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##872771 | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4573
Deuteranopia (green-blind)
#4A546F
Tritanopia (blue-blind)
#8F2B48
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #872771; /* rgb */ color: rgb(135, 39, 113); /* oklch */ color: oklch(44.8% 0.154 338.4);
Tailwind
colors: {
custom: {
50: '#ad6a9a',
500: '#872771',
950: '#000000',
},
}SCSS
$custom: #872771; $custom-light: #ad6a9a; $custom-dark: #000000;
JSON
{
"hex": "#872771",
"rgb": {
"r": 135,
"g": 39,
"b": 113
},
"hsl": {
"h": 313.75,
"s": 55.172,
"l": 34.118
},
"oklch": {
"l": 0.44754,
"c": 0.15447,
"h": 338.4
},
"luminance": 0.07794
}Semantic roles & 50–950 ramp
primary
#872771
secondary
#56B46B
accent
#DF6B49
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E