#862871#862871
#862871 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.7% C 0.152 H 338.0°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #862871 |
|---|---|
| RGB | rgb(134, 40, 113) |
| HSL | hsl(313, 54%, 34%) |
| HSV | hsv(313, 70%, 53%) |
| CMYK | cmyk(0%, 70.1%, 15.7%, 47.5%) |
| CIE-LAB | lab(33.52, 47.89, -21.05) |
| CIE-LCH | lch(33.52, 52.31, 336.27°) |
| OKLab | oklab(44.7% 0.1414 -0.057) |
| OKLCH | oklch(44.7% 0.152 338) |
| XYZ | xyz(13.5712, 7.7794, 16.4064) |
| Luminance | 0.0778 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 5.41
Bruise
#7E4071
ΔE00 5.53
Warm Purple
#952E8F
ΔE00 5.93
Red Violet
#9E0168
ΔE00 5.99
Grape
#6C3461
ΔE00 6.31
Purple
#800080
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862871 #28863D
analogous
#6C2886 #862871 #862842
triadic
#862871 #718628 #287186
tetradic
#862871 #866C28 #28863D #284286
square
#862871 #866C28 #28863D #284286
split-complementary
#862871 #428628 #28866C
monochromatic
#280C22 #571A49 #862871 #B53699 #CE5BB4
Accessibility & contrast
On white
8.22
#862871 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#862871 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862871
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862871 | 1.00 | 8.22 | 2.56 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4573
Deuteranopia (green-blind)
#4A546F
Tritanopia (blue-blind)
#8D2C49
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #862871; /* rgb */ color: rgb(134, 40, 113); /* oklch */ color: oklch(44.7% 0.152 338.0);
Tailwind
colors: {
custom: {
50: '#ac6a9a',
500: '#862871',
950: '#000000',
},
}SCSS
$custom: #862871; $custom-light: #ac6a9a; $custom-dark: #000000;
JSON
{
"hex": "#862871",
"rgb": {
"r": 134,
"g": 40,
"b": 113
},
"hsl": {
"h": 313.404,
"s": 54.023,
"l": 34.118
},
"oklch": {
"l": 0.44696,
"c": 0.15246,
"h": 338
},
"luminance": 0.07778
}Semantic roles & 50–950 ramp
primary
#862871
secondary
#57B36B
accent
#DD6B4A
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11070E
muted
#807A7E