#862172#862172
#862172 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.1% C 0.162 H 337.2°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #862172 |
|---|---|
| RGB | rgb(134, 33, 114) |
| HSL | hsl(312, 60%, 33%) |
| HSV | hsv(312, 75%, 53%) |
| CMYK | cmyk(0%, 75.4%, 14.9%, 47.5%) |
| CIE-LAB | lab(32.64, 50.66, -23.05) |
| CIE-LCH | lch(32.64, 55.66, 335.53°) |
| OKLab | oklab(44.07% 0.1494 -0.0627) |
| OKLCH | oklch(44.07% 0.162 337.2) |
| XYZ | xyz(13.4129, 7.3722, 16.6329) |
| Luminance | 0.0737 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.51
Purple
#800080
ΔE00 5.53
Darkmagenta
#8B008B
ΔE00 5.84
Warm Purple
#952E8F
ΔE00 5.90
Red Violet
#9E0168
ΔE00 6.11
Rich Purple
#720058
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862172 #218635
analogous
#672186 #862172 #862140
triadic
#862172 #728621 #217286
tetradic
#862172 #866721 #218635 #214086
square
#862172 #866721 #218635 #214086
split-complementary
#862172 #408621 #218667
monochromatic
#24091E #551548 #862172 #B72D9C #D34EB9
Accessibility & contrast
On white
8.49
#862172 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#862172 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862172
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862172 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862172 | 1.00 | 8.49 | 2.47 | 8.49 |
| #FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244374
Deuteranopia (green-blind)
#475270
Tritanopia (blue-blind)
#8D2747
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #862172; /* rgb */ color: rgb(134, 33, 114); /* oklch */ color: oklch(44.1% 0.162 337.2);
Tailwind
colors: {
custom: {
50: '#ad679b',
500: '#862172',
950: '#000000',
},
}SCSS
$custom: #862172; $custom-light: #ad679b; $custom-dark: #000000;
JSON
{
"hex": "#862172",
"rgb": {
"r": 134,
"g": 33,
"b": 114
},
"hsl": {
"h": 311.881,
"s": 60.479,
"l": 32.745
},
"oklch": {
"l": 0.44074,
"c": 0.16198,
"h": 337.2
},
"luminance": 0.07371
}Semantic roles & 50–950 ramp
primary
#862172
secondary
#4CB761
accent
#E46444
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E