#862E71#862E71
#862E71 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.4% C 0.144 H 338.4°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #862E71 |
|---|---|
| RGB | rgb(134, 46, 113) |
| HSL | hsl(314, 49%, 35%) |
| HSV | hsv(314, 66%, 53%) |
| CMYK | cmyk(0%, 65.7%, 15.7%, 47.5%) |
| CIE-LAB | lab(34.43, 45.36, -19.64) |
| CIE-LCH | lch(34.43, 49.43, 336.59°) |
| OKLab | oklab(45.36% 0.1339 -0.0531) |
| OKLCH | oklch(45.36% 0.144 338.4) |
| XYZ | xyz(13.7894, 8.2158, 16.4791) |
| Luminance | 0.0822 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.47
Grape
#6C3461
ΔE00 5.89
Light Eggplant
#894585
ΔE00 5.97
Warm Purple
#952E8F
ΔE00 6.02
Red Violet
#9E0168
ΔE00 6.24
Darkish Purple
#751973
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862E71 #2E8643
analogous
#6F2E86 #862E71 #862E45
triadic
#862E71 #71862E #2E7186
tetradic
#862E71 #866F2E #2E8643 #2E4586
square
#862E71 #866F2E #2E8643 #2E4586
split-complementary
#862E71 #45862E #2E866F
monochromatic
#2B0F24 #581E4B #862E71 #B43E97 #CA64B2
Accessibility & contrast
On white
7.95
#862E71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#862E71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862E71
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862E71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862E71 | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314873
Deuteranopia (green-blind)
#4D566F
Tritanopia (blue-blind)
#8D314B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #862e71; /* rgb */ color: rgb(134, 46, 113); /* oklch */ color: oklch(45.4% 0.144 338.4);
Tailwind
colors: {
custom: {
50: '#ac6d9a',
500: '#862e71',
950: '#000000',
},
}SCSS
$custom: #862e71; $custom-light: #ac6d9a; $custom-dark: #000000;
JSON
{
"hex": "#862e71",
"rgb": {
"r": 134,
"g": 46,
"b": 113
},
"hsl": {
"h": 314.318,
"s": 48.889,
"l": 35.294
},
"oklch": {
"l": 0.45359,
"c": 0.14399,
"h": 338.4
},
"luminance": 0.08215
}Semantic roles & 50–950 ramp
primary
#862E71
secondary
#5FB173
accent
#D8704F
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10070E
muted
#7F7A7E