#862171#862171
#862171 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.0% C 0.161 H 337.7°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #862171 |
|---|---|
| RGB | rgb(134, 33, 113) |
| HSL | hsl(312, 60%, 33%) |
| HSV | hsv(312, 75%, 53%) |
| CMYK | cmyk(0%, 75.4%, 15.7%, 47.5%) |
| CIE-LAB | lab(32.59, 50.51, -22.50) |
| CIE-LCH | lch(32.59, 55.29, 335.99°) |
| OKLab | oklab(44.02% 0.1492 -0.0611) |
| OKLCH | oklch(44.02% 0.161 337.7) |
| XYZ | xyz(13.3563, 7.3496, 16.3348) |
| Luminance | 0.0735 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.65
Purple
#800080
ΔE00 5.72
Red Violet
#9E0168
ΔE00 5.95
Darkmagenta
#8B008B
ΔE00 6.05
Warm Purple
#952E8F
ΔE00 6.07
Rich Purple
#720058
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862171 #218636
analogous
#682186 #862171 #86213F
triadic
#862171 #718621 #217186
tetradic
#862171 #866821 #218636 #213F86
square
#862171 #866821 #218636 #213F86
split-complementary
#862171 #3F8621 #218668
monochromatic
#24091E #551548 #862171 #B72D9A #D34EB8
Accessibility & contrast
On white
8.50
#862171 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#862171 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862171
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862171 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862171 | 1.00 | 8.50 | 2.47 | 8.50 |
| #FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254373
Deuteranopia (green-blind)
#47526F
Tritanopia (blue-blind)
#8E2746
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #862171; /* rgb */ color: rgb(134, 33, 113); /* oklch */ color: oklch(44.0% 0.161 337.7);
Tailwind
colors: {
custom: {
50: '#ad679a',
500: '#862171',
950: '#000000',
},
}SCSS
$custom: #862171; $custom-light: #ad679a; $custom-dark: #000000;
JSON
{
"hex": "#862171",
"rgb": {
"r": 134,
"g": 33,
"b": 113
},
"hsl": {
"h": 312.475,
"s": 60.479,
"l": 32.745
},
"oklch": {
"l": 0.44022,
"c": 0.16126,
"h": 337.7
},
"luminance": 0.07348
}Semantic roles & 50–950 ramp
primary
#862171
secondary
#4CB762
accent
#E46544
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E