#812052#812052
#812052 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.140 H 353.5°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #812052 |
|---|---|
| RGB | rgb(129, 32, 82) |
| HSL | hsl(329, 60%, 32%) |
| HSV | hsv(329, 75%, 51%) |
| CMYK | cmyk(0%, 75.2%, 36.4%, 49.4%) |
| CIE-LAB | lab(30.18, 45.28, -6.23) |
| CIE-LCH | lch(30.18, 45.71, 352.16°) |
| OKLab | oklab(41.66% 0.1388 -0.0159) |
| OKLCH | oklch(41.66% 0.14 353.5) |
| XYZ | xyz(11.0934, 6.3107, 8.6149) |
| Luminance | 0.0631 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.24
Reddish Purple
#910951
ΔE00 3.55
Mulberry
#920A4E
ΔE00 4.13
Dark Magenta
#960056
ΔE00 4.22
Velvet
#750851
ΔE00 4.87
Wine (survey)
#80013F
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#812052 #20814F
analogous
#802081 #812052 #812022
triadic
#812052 #528120 #205281
tetradic
#812052 #818020 #20814F #202281
square
#812052 #818020 #20814F #202281
split-complementary
#812052 #228120 #208180
monochromatic
#1F0814 #501433 #812052 #B22C71 #D24990
Accessibility & contrast
On white
9.28
#812052 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#812052 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #812052
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##812052 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##812052 | 1.00 | 9.28 | 2.26 | 9.28 |
| #FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323C53
Deuteranopia (green-blind)
#4D4E50
Tritanopia (blue-blind)
#8B1736
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #812052; /* rgb */ color: rgb(129, 32, 82); /* oklch */ color: oklch(41.7% 0.140 353.5);
Tailwind
colors: {
custom: {
50: '#aa6582',
500: '#812052',
950: '#000000',
},
}SCSS
$custom: #812052; $custom-light: #aa6582; $custom-dark: #000000;
JSON
{
"hex": "#812052",
"rgb": {
"r": 129,
"g": 32,
"b": 82
},
"hsl": {
"h": 329.072,
"s": 60.248,
"l": 31.569
},
"oklch": {
"l": 0.41655,
"c": 0.13969,
"h": 353.5
},
"luminance": 0.06309
}Semantic roles & 50–950 ramp
primary
#812052
secondary
#49B47D
accent
#E39144
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C