#862C71#862C71
#862C71 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.1% C 0.147 H 338.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #862C71 |
|---|---|
| RGB | rgb(134, 44, 113) |
| HSL | hsl(314, 51%, 35%) |
| HSV | hsv(314, 67%, 53%) |
| CMYK | cmyk(0%, 67.2%, 15.7%, 47.5%) |
| CIE-LAB | lab(34.11, 46.23, -20.12) |
| CIE-LCH | lch(34.11, 50.42, 336.48°) |
| OKLab | oklab(45.13% 0.1364 -0.0544) |
| OKLCH | oklch(45.13% 0.147 338.2) |
| XYZ | xyz(13.7131, 8.0632, 16.4537) |
| Luminance | 0.0806 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.83
Warm Purple
#952E8F
ΔE00 5.96
Darkish Purple
#751973
ΔE00 5.98
Grape
#6C3461
ΔE00 6.01
Red Violet
#9E0168
ΔE00 6.13
Light Eggplant
#894585
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862C71 #2C8641
analogous
#6E2C86 #862C71 #862C44
triadic
#862C71 #71862C #2C7186
tetradic
#862C71 #866E2C #2C8641 #2C4486
square
#862C71 #866E2C #2C8641 #2C4486
split-complementary
#862C71 #44862C #2C866E
monochromatic
#2A0E23 #581D4A #862C71 #B43B98 #CB61B2
Accessibility & contrast
On white
8.04
#862C71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#862C71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862C71
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862C71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862C71 | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4773
Deuteranopia (green-blind)
#4C556F
Tritanopia (blue-blind)
#8D304A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #862c71; /* rgb */ color: rgb(134, 44, 113); /* oklch */ color: oklch(45.1% 0.147 338.2);
Tailwind
colors: {
custom: {
50: '#ac6c9a',
500: '#862c71',
950: '#000000',
},
}SCSS
$custom: #862c71; $custom-light: #ac6c9a; $custom-dark: #000000;
JSON
{
"hex": "#862c71",
"rgb": {
"r": 134,
"g": 44,
"b": 113
},
"hsl": {
"h": 314,
"s": 50.562,
"l": 34.902
},
"oklch": {
"l": 0.45129,
"c": 0.1469,
"h": 338.2
},
"luminance": 0.08062
}Semantic roles & 50–950 ramp
primary
#862C71
secondary
#5CB170
accent
#DA6E4E
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10070E
muted
#7F7A7E