#81126A#81126A
#81126A is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.7% C 0.168 H 338.7°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #81126A |
|---|---|
| RGB | rgb(129, 18, 106) |
| HSL | hsl(312, 76%, 29%) |
| HSV | hsv(312, 86%, 51%) |
| CMYK | cmyk(0%, 86%, 17.8%, 49.4%) |
| CIE-LAB | lab(29.77, 52.66, -22.50) |
| CIE-LCH | lch(29.77, 57.27, 336.87°) |
| OKLab | oklab(41.7% 0.1567 -0.0611) |
| OKLCH | oklch(41.7% 0.168 338.7) |
| XYZ | xyz(11.8714, 6.1416, 14.1931) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 3.95
Rich Purple
#720058
ΔE00 4.14
Velvet
#750851
ΔE00 5.23
Purple
#800080
ΔE00 5.26
Darkmagenta
#8B008B
ΔE00 6.35
Red Violet
#9E0168
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81126A #128129
analogous
#611281 #81126A #811233
triadic
#81126A #6A8112 #126A81
tetradic
#81126A #816112 #128129 #123381
square
#81126A #816112 #128129 #123381
split-complementary
#81126A #338112 #128161
monochromatic
#1B0416 #4B0B3E #81126A #B71996 #E22CBC
Accessibility & contrast
On white
9.43
#81126A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#81126A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #81126A
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81126A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##81126A | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A3B6C
Deuteranopia (green-blind)
#414C68
Tritanopia (blue-blind)
#89193F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #81126a; /* rgb */ color: rgb(129, 18, 106); /* oklch */ color: oklch(41.7% 0.168 338.7);
Tailwind
colors: {
custom: {
50: '#a96195',
500: '#81126a',
950: '#000000',
},
}SCSS
$custom: #81126a; $custom-light: #a96195; $custom-dark: #000000;
JSON
{
"hex": "#81126a",
"rgb": {
"r": 129,
"g": 18,
"b": 106
},
"hsl": {
"h": 312.432,
"s": 75.51,
"l": 28.824
},
"oklch": {
"l": 0.417,
"c": 0.1682,
"h": 338.7
},
"luminance": 0.0614
}Semantic roles & 50–950 ramp
primary
#81126A
secondary
#38B752
accent
#F25D36
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E