#821866#821866
#821866 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.1% C 0.161 H 341.4°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #821866 |
|---|---|
| RGB | rgb(130, 24, 102) |
| HSL | hsl(316, 69%, 30%) |
| HSV | hsv(316, 82%, 51%) |
| CMYK | cmyk(0%, 81.5%, 21.5%, 49%) |
| CIE-LAB | lab(30.30, 50.77, -19.07) |
| CIE-LCH | lch(30.30, 54.24, 339.41°) |
| OKLab | oklab(42.06% 0.1525 -0.0514) |
| OKLCH | oklch(42.06% 0.161 341.4) |
| XYZ | xyz(11.9312, 6.3597, 13.1670) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 4.29
Velvet
#750851
ΔE00 4.55
Darkish Purple
#751973
ΔE00 5.20
Red Violet
#9E0168
ΔE00 5.62
Purple
#800080
ΔE00 6.67
Grape
#6C3461
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#821866 #188234
analogous
#691882 #821866 #821831
triadic
#821866 #668218 #186682
tetradic
#821866 #826918 #188234 #183182
square
#821866 #826918 #188234 #183182
split-complementary
#821866 #318218 #188269
monochromatic
#1B0515 #4E0E3D #821866 #B6228F #DB3AB0
Accessibility & contrast
On white
9.24
#821866 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#821866 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #821866
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##821866 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##821866 | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#223D68
Deuteranopia (green-blind)
#454D64
Tritanopia (blue-blind)
#8A1A3E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #821866; /* rgb */ color: rgb(130, 24, 102); /* oklch */ color: oklch(42.1% 0.161 341.4);
Tailwind
colors: {
custom: {
50: '#aa6392',
500: '#821866',
950: '#000000',
},
}SCSS
$custom: #821866; $custom-light: #aa6392; $custom-dark: #000000;
JSON
{
"hex": "#821866",
"rgb": {
"r": 130,
"g": 24,
"b": 102
},
"hsl": {
"h": 315.849,
"s": 68.831,
"l": 30.196
},
"oklch": {
"l": 0.42056,
"c": 0.16087,
"h": 341.4
},
"luminance": 0.06358
}Semantic roles & 50–950 ramp
primary
#821866
secondary
#40B65F
accent
#EC6B3C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060D
muted
#7F7A7D