#872870#872870
#872870 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.8% C 0.152 H 339.0°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #872870 |
|---|---|
| RGB | rgb(135, 40, 112) |
| HSL | hsl(315, 54%, 34%) |
| HSV | hsv(315, 70%, 53%) |
| CMYK | cmyk(0%, 70.4%, 17%, 47.1%) |
| CIE-LAB | lab(33.65, 48.01, -20.20) |
| CIE-LCH | lch(33.65, 52.09, 337.18°) |
| OKLab | oklab(44.81% 0.1423 -0.0546) |
| OKLCH | oklch(44.81% 0.152 339) |
| XYZ | xyz(13.6754, 7.8396, 16.1191) |
| Luminance | 0.0784 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 5.49
Red Violet
#9E0168
ΔE00 5.66
Darkish Purple
#751973
ΔE00 5.77
Warm Purple
#952E8F
ΔE00 6.11
Grape
#6C3461
ΔE00 6.35
Light Eggplant
#894585
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#872870 #28873F
analogous
#6F2887 #872870 #872841
triadic
#872870 #708728 #287087
tetradic
#872870 #876F28 #28873F #284187
square
#872870 #876F28 #28873F #284187
split-complementary
#872870 #418728 #28876F
monochromatic
#290C22 #581A49 #872870 #B63697 #CE5BB2
Accessibility & contrast
On white
8.18
#872870 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#872870 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #872870
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##872870 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##872870 | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4672
Deuteranopia (green-blind)
#4B556E
Tritanopia (blue-blind)
#8F2C48
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #872870; /* rgb */ color: rgb(135, 40, 112); /* oklch */ color: oklch(44.8% 0.152 339.0);
Tailwind
colors: {
custom: {
50: '#ad6a99',
500: '#872870',
950: '#000000',
},
}SCSS
$custom: #872870; $custom-light: #ad6a99; $custom-dark: #000000;
JSON
{
"hex": "#872870",
"rgb": {
"r": 135,
"g": 40,
"b": 112
},
"hsl": {
"h": 314.526,
"s": 54.286,
"l": 34.314
},
"oklch": {
"l": 0.44807,
"c": 0.15242,
"h": 339
},
"luminance": 0.07838
}Semantic roles & 50–950 ramp
primary
#872870
secondary
#57B46E
accent
#DE6E4A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E