#862B72#862B72
#862B72 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.149 H 337.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #862B72 |
|---|---|
| RGB | rgb(134, 43, 114) |
| HSL | hsl(313, 51%, 35%) |
| HSV | hsv(313, 68%, 53%) |
| CMYK | cmyk(0%, 67.9%, 14.9%, 47.5%) |
| CIE-LAB | lab(34.01, 46.82, -20.92) |
| CIE-LCH | lch(34.01, 51.28, 335.92°) |
| OKLab | oklab(45.07% 0.1379 -0.0567) |
| OKLCH | oklch(45.07% 0.149 337.6) |
| XYZ | xyz(13.7329, 8.0122, 16.7396) |
| Luminance | 0.0801 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 5.06
Darkish Purple
#751973
ΔE00 5.69
Warm Purple
#952E8F
ΔE00 5.74
Grape
#6C3461
ΔE00 6.16
Red Violet
#9E0168
ΔE00 6.22
Light Eggplant
#894585
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862B72 #2B863F
analogous
#6D2B86 #862B72 #862B45
triadic
#862B72 #72862B #2B7286
tetradic
#862B72 #866D2B #2B863F #2B4586
square
#862B72 #866D2B #2B863F #2B4586
split-complementary
#862B72 #45862B #2B866D
monochromatic
#290D23 #581C4B #862B72 #B43A99 #CC60B4
Accessibility & contrast
On white
8.07
#862B72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#862B72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862B72
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862B72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862B72 | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4774
Deuteranopia (green-blind)
#4B5570
Tritanopia (blue-blind)
#8D2F4A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #862b72; /* rgb */ color: rgb(134, 43, 114); /* oklch */ color: oklch(45.1% 0.149 337.6);
Tailwind
colors: {
custom: {
50: '#ac6c9a',
500: '#862b72',
950: '#000000',
},
}SCSS
$custom: #862b72; $custom-light: #ac6c9a; $custom-dark: #000000;
JSON
{
"hex": "#862b72",
"rgb": {
"r": 134,
"g": 43,
"b": 114
},
"hsl": {
"h": 313.187,
"s": 51.412,
"l": 34.706
},
"oklch": {
"l": 0.45067,
"c": 0.14908,
"h": 337.6
},
"luminance": 0.08011
}Semantic roles & 50–950 ramp
primary
#862B72
secondary
#5BB26E
accent
#DB6C4D
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10070E
muted
#7F7A7E