#862F72#862F72
#862F72 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.5% C 0.143 H 337.9°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #862F72 |
|---|---|
| RGB | rgb(134, 47, 114) |
| HSL | hsl(314, 48%, 35%) |
| HSV | hsv(314, 65%, 53%) |
| CMYK | cmyk(0%, 64.9%, 14.9%, 47.5%) |
| CIE-LAB | lab(34.64, 45.08, -19.95) |
| CIE-LCH | lch(34.64, 49.30, 336.13°) |
| OKLab | oklab(45.53% 0.1327 -0.054) |
| OKLCH | oklch(45.53% 0.143 337.9) |
| XYZ | xyz(13.8855, 8.3174, 16.7904) |
| Luminance | 0.0832 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.33
Light Eggplant
#894585
ΔE00 5.72
Warm Purple
#952E8F
ΔE00 5.84
Grape
#6C3461
ΔE00 5.91
Darkish Purple
#751973
ΔE00 6.32
Red Violet
#9E0168
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862F72 #2F8643
analogous
#6E2F86 #862F72 #862F46
triadic
#862F72 #72862F #2F7286
tetradic
#862F72 #866E2F #2F8643 #2F4686
square
#862F72 #866E2F #2F8643 #2F4686
split-complementary
#862F72 #46862F #2F866E
monochromatic
#2B0F25 #591F4B #862F72 #B33F99 #C966B3
Accessibility & contrast
On white
7.89
#862F72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#862F72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862F72
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862F72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862F72 | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324974
Deuteranopia (green-blind)
#4D5670
Tritanopia (blue-blind)
#8D334C
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #862f72; /* rgb */ color: rgb(134, 47, 114); /* oklch */ color: oklch(45.5% 0.143 337.9);
Tailwind
colors: {
custom: {
50: '#ac6e9a',
500: '#862f72',
950: '#000000',
},
}SCSS
$custom: #862f72; $custom-light: #ac6e9a; $custom-dark: #000000;
JSON
{
"hex": "#862f72",
"rgb": {
"r": 134,
"g": 47,
"b": 114
},
"hsl": {
"h": 313.793,
"s": 48.066,
"l": 35.49
},
"oklch": {
"l": 0.45525,
"c": 0.14326,
"h": 337.9
},
"luminance": 0.08316
}Semantic roles & 50–950 ramp
primary
#862F72
secondary
#60B073
accent
#D86F50
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10070E
muted
#7F7A7E