#81176F#81176F
#81176F is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.3% C 0.167 H 336.3°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #81176F |
|---|---|
| RGB | rgb(129, 23, 111) |
| HSL | hsl(310, 70%, 30%) |
| HSV | hsv(310, 82%, 51%) |
| CMYK | cmyk(0%, 82.2%, 14%, 49.4%) |
| CIE-LAB | lab(30.47, 52.12, -24.61) |
| CIE-LCH | lch(30.47, 57.64, 334.73°) |
| OKLab | oklab(42.29% 0.1533 -0.0671) |
| OKLCH | oklch(42.29% 0.167 336.3) |
| XYZ | xyz(12.2291, 6.4288, 15.6327) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 3.20
Purple
#800080
ΔE00 4.45
Rich Purple
#720058
ΔE00 4.99
Darkmagenta
#8B008B
ΔE00 5.45
Velvet
#750851
ΔE00 6.26
Red Violet
#9E0168
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81176F #178129
analogous
#5E1781 #81176F #81173A
triadic
#81176F #6F8117 #176F81
tetradic
#81176F #815E17 #178129 #173A81
square
#81176F #815E17 #178129 #173A81
split-complementary
#81176F #3A8117 #17815E
monochromatic
#1A0516 #4D0E42 #81176F #B5209C #DB37BF
Accessibility & contrast
On white
9.19
#81176F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#81176F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #81176F
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81176F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##81176F | 1.00 | 9.19 | 2.29 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#193E71
Deuteranopia (green-blind)
#404D6D
Tritanopia (blue-blind)
#882042
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #81176f; /* rgb */ color: rgb(129, 23, 111); /* oklch */ color: oklch(42.3% 0.167 336.3);
Tailwind
colors: {
custom: {
50: '#a96298',
500: '#81176f',
950: '#000000',
},
}SCSS
$custom: #81176f; $custom-light: #a96298; $custom-dark: #000000;
JSON
{
"hex": "#81176f",
"rgb": {
"r": 129,
"g": 23,
"b": 111
},
"hsl": {
"h": 310.189,
"s": 69.737,
"l": 29.804
},
"oklch": {
"l": 0.42289,
"c": 0.16737,
"h": 336.3
},
"luminance": 0.06428
}Semantic roles & 50–950 ramp
primary
#81176F
secondary
#3EB553
accent
#ED593B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E