#81126C#81126C
#81126C is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.8% C 0.170 H 337.7°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #81126C |
|---|---|
| RGB | rgb(129, 18, 108) |
| HSL | hsl(311, 76%, 29%) |
| HSV | hsv(311, 86%, 51%) |
| CMYK | cmyk(0%, 86%, 16.3%, 49.4%) |
| CIE-LAB | lab(29.87, 52.95, -23.62) |
| CIE-LCH | lch(29.87, 57.98, 335.96°) |
| OKLab | oklab(41.81% 0.1569 -0.0643) |
| OKLCH | oklch(41.81% 0.17 337.7) |
| XYZ | xyz(11.9766, 6.1836, 14.7473) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 3.57
Rich Purple
#720058
ΔE00 4.39
Purple
#800080
ΔE00 4.80
Velvet
#750851
ΔE00 5.64
Darkmagenta
#8B008B
ΔE00 5.91
Red Violet
#9E0168
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81126C #128127
analogous
#5F1281 #81126C #811235
triadic
#81126C #6C8112 #126C81
tetradic
#81126C #815F12 #128127 #123581
square
#81126C #815F12 #128127 #123581
split-complementary
#81126C #358112 #12815F
monochromatic
#1B0416 #4B0B3F #81126C #B71999 #E22CBF
Accessibility & contrast
On white
9.39
#81126C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#81126C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #81126C
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81126C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##81126C | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#183C6E
Deuteranopia (green-blind)
#404C6A
Tritanopia (blue-blind)
#891A40
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #81126c; /* rgb */ color: rgb(129, 18, 108); /* oklch */ color: oklch(41.8% 0.170 337.7);
Tailwind
colors: {
custom: {
50: '#a96196',
500: '#81126c',
950: '#000000',
},
}SCSS
$custom: #81126c; $custom-light: #a96196; $custom-dark: #000000;
JSON
{
"hex": "#81126c",
"rgb": {
"r": 129,
"g": 18,
"b": 108
},
"hsl": {
"h": 311.351,
"s": 75.51,
"l": 28.824
},
"oklch": {
"l": 0.41809,
"c": 0.16955,
"h": 337.7
},
"luminance": 0.06182
}Semantic roles & 50–950 ramp
primary
#81126C
secondary
#38B750
accent
#F25936
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E