#872970#872970
#872970 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.9% C 0.151 H 339.1°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #872970 |
|---|---|
| RGB | rgb(135, 41, 112) |
| HSL | hsl(315, 53%, 35%) |
| HSV | hsv(315, 70%, 53%) |
| CMYK | cmyk(0%, 69.6%, 17%, 47.1%) |
| CIE-LAB | lab(33.79, 47.61, -19.98) |
| CIE-LCH | lch(33.79, 51.63, 337.23°) |
| OKLab | oklab(44.91% 0.1411 -0.054) |
| OKLCH | oklch(44.91% 0.151 339.1) |
| XYZ | xyz(13.7095, 7.9079, 16.1304) |
| Luminance | 0.0791 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 5.33
Red Violet
#9E0168
ΔE00 5.70
Darkish Purple
#751973
ΔE00 5.90
Warm Purple
#952E8F
ΔE00 6.12
Grape
#6C3461
ΔE00 6.28
Light Eggplant
#894585
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#872970 #298740
analogous
#6F2987 #872970 #872941
triadic
#872970 #708729 #297087
tetradic
#872970 #876F29 #298740 #294187
square
#872970 #876F29 #298740 #294187
split-complementary
#872970 #418729 #29876F
monochromatic
#290C22 #581B49 #872970 #B63797 #CE5DB2
Accessibility & contrast
On white
8.14
#872970 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#872970 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #872970
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##872970 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##872970 | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4672
Deuteranopia (green-blind)
#4B556E
Tritanopia (blue-blind)
#8F2C49
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #872970; /* rgb */ color: rgb(135, 41, 112); /* oklch */ color: oklch(44.9% 0.151 339.1);
Tailwind
colors: {
custom: {
50: '#ad6b99',
500: '#872970',
950: '#000000',
},
}SCSS
$custom: #872970; $custom-light: #ad6b99; $custom-dark: #000000;
JSON
{
"hex": "#872970",
"rgb": {
"r": 135,
"g": 41,
"b": 112
},
"hsl": {
"h": 314.681,
"s": 53.409,
"l": 34.51
},
"oklch": {
"l": 0.44911,
"c": 0.15107,
"h": 339.1
},
"luminance": 0.07907
}Semantic roles & 50–950 ramp
primary
#872970
secondary
#59B36F
accent
#DD6F4B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E