#81186F#81186F
#81186F is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.4% C 0.166 H 336.4°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #81186F |
|---|---|
| RGB | rgb(129, 24, 111) |
| HSL | hsl(310, 69%, 30%) |
| HSV | hsv(310, 81%, 51%) |
| CMYK | cmyk(0%, 81.4%, 14%, 49.4%) |
| CIE-LAB | lab(30.57, 51.84, -24.45) |
| CIE-LCH | lch(30.57, 57.32, 334.75°) |
| OKLab | oklab(42.36% 0.1525 -0.0667) |
| OKLCH | oklch(42.36% 0.166 336.4) |
| XYZ | xyz(12.2494, 6.4693, 15.6394) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 3.24
Purple
#800080
ΔE00 4.52
Rich Purple
#720058
ΔE00 5.04
Darkmagenta
#8B008B
ΔE00 5.50
Velvet
#750851
ΔE00 6.27
Red Violet
#9E0168
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81186F #18812A
analogous
#5F1881 #81186F #81183A
triadic
#81186F #6F8118 #186F81
tetradic
#81186F #815F18 #18812A #183A81
square
#81186F #815F18 #18812A #183A81
split-complementary
#81186F #3A8118 #18815F
monochromatic
#1A0516 #4D0E43 #81186F #B5229B #DA39BF
Accessibility & contrast
On white
9.16
#81186F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#81186F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #81186F
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81186F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##81186F | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A3E71
Deuteranopia (green-blind)
#414D6D
Tritanopia (blue-blind)
#882043
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #81186f; /* rgb */ color: rgb(129, 24, 111); /* oklch */ color: oklch(42.4% 0.166 336.4);
Tailwind
colors: {
custom: {
50: '#a96398',
500: '#81186f',
950: '#000000',
},
}SCSS
$custom: #81186f; $custom-light: #a96398; $custom-dark: #000000;
JSON
{
"hex": "#81186f",
"rgb": {
"r": 129,
"g": 24,
"b": 111
},
"hsl": {
"h": 310.286,
"s": 68.627,
"l": 30
},
"oklch": {
"l": 0.42359,
"c": 0.16643,
"h": 336.4
},
"luminance": 0.06468
}Semantic roles & 50–950 ramp
primary
#81186F
secondary
#40B554
accent
#EB5A3C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E