#81126E#81126E
#81126E is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.9% C 0.171 H 336.7°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #81126E |
|---|---|
| RGB | rgb(129, 18, 110) |
| HSL | hsl(310, 76%, 29%) |
| HSV | hsv(310, 86%, 51%) |
| CMYK | cmyk(0%, 86%, 14.7%, 49.4%) |
| CIE-LAB | lab(29.98, 53.24, -24.74) |
| CIE-LCH | lch(29.98, 58.71, 335.08°) |
| OKLab | oklab(41.92% 0.157 -0.0675) |
| OKLCH | oklch(41.92% 0.171 336.7) |
| XYZ | xyz(12.0843, 6.2267, 15.3143) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 3.22
Purple
#800080
ΔE00 4.36
Rich Purple
#720058
ΔE00 4.67
Darkmagenta
#8B008B
ΔE00 5.48
Velvet
#750851
ΔE00 6.05
Red Violet
#9E0168
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81126E #128125
analogous
#5D1281 #81126E #811237
triadic
#81126E #6E8112 #126E81
tetradic
#81126E #815D12 #128125 #123781
square
#81126E #815D12 #128125 #123781
split-complementary
#81126E #378112 #12815D
monochromatic
#1B0417 #4B0B40 #81126E #B7199C #E22CC2
Accessibility & contrast
On white
9.35
#81126E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#81126E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #81126E
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81126E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##81126E | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#163C70
Deuteranopia (green-blind)
#3F4C6C
Tritanopia (blue-blind)
#881C41
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #81126e; /* rgb */ color: rgb(129, 18, 110); /* oklch */ color: oklch(41.9% 0.171 336.7);
Tailwind
colors: {
custom: {
50: '#a96198',
500: '#81126e',
950: '#000000',
},
}SCSS
$custom: #81126e; $custom-light: #a96198; $custom-dark: #000000;
JSON
{
"hex": "#81126e",
"rgb": {
"r": 129,
"g": 18,
"b": 110
},
"hsl": {
"h": 310.27,
"s": 75.51,
"l": 28.824
},
"oklch": {
"l": 0.41919,
"c": 0.17092,
"h": 336.7
},
"luminance": 0.06226
}Semantic roles & 50–950 ramp
primary
#81126E
secondary
#38B74E
accent
#F25636
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E