#812562#812562
#812562 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.8% C 0.142 H 344.1°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #812562 |
|---|---|
| RGB | rgb(129, 37, 98) |
| HSL | hsl(320, 55%, 33%) |
| HSV | hsv(320, 71%, 51%) |
| CMYK | cmyk(0%, 71.3%, 24%, 49.4%) |
| CIE-LAB | lab(31.52, 45.46, -14.63) |
| CIE-LCH | lch(31.52, 47.76, 342.16°) |
| OKLab | oklab(42.84% 0.137 -0.039) |
| OKLCH | oklch(42.84% 0.142 344.1) |
| XYZ | xyz(11.9199, 6.8733, 12.2518) |
| Luminance | 0.0687 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 4.85
Grape
#6C3461
ΔE00 5.52
Red Violet
#9E0168
ΔE00 5.57
Rich Purple
#720058
ΔE00 5.69
Dark Magenta
#960056
ΔE00 6.21
Bruise
#7E4071
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#812562 #258144
analogous
#722581 #812562 #812534
triadic
#812562 #628125 #256281
tetradic
#812562 #817225 #258144 #253481
square
#812562 #817225 #258144 #253481
split-complementary
#812562 #348125 #258172
monochromatic
#220A1A #51173E #812562 #B13386 #CE53A4
Accessibility & contrast
On white
8.84
#812562 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#812562 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #812562
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##812562 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##812562 | 1.00 | 8.84 | 2.37 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4064
Deuteranopia (green-blind)
#4A5060
Tritanopia (blue-blind)
#8A2440
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #812562; /* rgb */ color: rgb(129, 37, 98); /* oklch */ color: oklch(42.8% 0.142 344.1);
Tailwind
colors: {
custom: {
50: '#a9688e',
500: '#812562',
950: '#000000',
},
}SCSS
$custom: #812562; $custom-light: #a9688e; $custom-dark: #000000;
JSON
{
"hex": "#812562",
"rgb": {
"r": 129,
"g": 37,
"b": 98
},
"hsl": {
"h": 320.217,
"s": 55.422,
"l": 32.549
},
"oklch": {
"l": 0.42843,
"c": 0.14242,
"h": 344.1
},
"luminance": 0.06872
}Semantic roles & 50–950 ramp
primary
#812562
secondary
#50B271
accent
#DF7B49
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D