#82166F#82166F
#82166F is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.4% C 0.169 H 336.7°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #82166F |
|---|---|
| RGB | rgb(130, 22, 111) |
| HSL | hsl(311, 71%, 30%) |
| HSV | hsv(311, 83%, 51%) |
| CMYK | cmyk(0%, 83.1%, 14.6%, 49%) |
| CIE-LAB | lab(30.57, 52.62, -24.44) |
| CIE-LCH | lch(30.57, 58.02, 335.08°) |
| OKLab | oklab(42.39% 0.1551 -0.0666) |
| OKLCH | oklch(42.39% 0.169 336.7) |
| XYZ | xyz(12.3623, 6.4685, 15.6333) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 3.38
Purple
#800080
ΔE00 4.52
Rich Purple
#720058
ΔE00 5.02
Darkmagenta
#8B008B
ΔE00 5.46
Velvet
#750851
ΔE00 6.24
Red Violet
#9E0168
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#82166F #168229
analogous
#5F1682 #82166F #821639
triadic
#82166F #6F8216 #166F82
tetradic
#82166F #825F16 #168229 #163982
square
#82166F #825F16 #168229 #163982
split-complementary
#82166F #398216 #16825F
monochromatic
#1A0416 #4E0D42 #82166F #B61F9C #DD35BF
Accessibility & contrast
On white
9.16
#82166F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#82166F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #82166F
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##82166F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##82166F | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#193E71
Deuteranopia (green-blind)
#414E6D
Tritanopia (blue-blind)
#891F42
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #82166f; /* rgb */ color: rgb(130, 22, 111); /* oklch */ color: oklch(42.4% 0.169 336.7);
Tailwind
colors: {
custom: {
50: '#aa6298',
500: '#82166f',
950: '#000000',
},
}SCSS
$custom: #82166f; $custom-light: #aa6298; $custom-dark: #000000;
JSON
{
"hex": "#82166f",
"rgb": {
"r": 130,
"g": 22,
"b": 111
},
"hsl": {
"h": 310.556,
"s": 71.053,
"l": 29.804
},
"oklch": {
"l": 0.42392,
"c": 0.16883,
"h": 336.7
},
"luminance": 0.06467
}Semantic roles & 50–950 ramp
primary
#82166F
secondary
#3DB753
accent
#EE5A3A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E