#811766#811766
#811766 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.8% C 0.161 H 340.9°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #811766 |
|---|---|
| RGB | rgb(129, 23, 102) |
| HSL | hsl(315, 70%, 30%) |
| HSV | hsv(315, 82%, 51%) |
| CMYK | cmyk(0%, 82.2%, 20.9%, 49.4%) |
| CIE-LAB | lab(30.01, 50.81, -19.54) |
| CIE-LCH | lch(30.01, 54.44, 338.97°) |
| OKLab | oklab(41.81% 0.1524 -0.0527) |
| OKLCH | oklch(41.81% 0.161 340.9) |
| XYZ | xyz(11.7583, 6.2405, 13.1531) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 4.07
Velvet
#750851
ΔE00 4.49
Darkish Purple
#751973
ΔE00 4.95
Red Violet
#9E0168
ΔE00 5.87
Purple
#800080
ΔE00 6.47
Grape
#6C3461
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#811766 #178132
analogous
#671781 #811766 #811731
triadic
#811766 #668117 #176681
tetradic
#811766 #816717 #178132 #173181
square
#811766 #816717 #178132 #173181
split-complementary
#811766 #318117 #178167
monochromatic
#1A0515 #4D0E3D #811766 #B5208F #DB37B2
Accessibility & contrast
On white
9.34
#811766 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#811766 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #811766
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##811766 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##811766 | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#213C68
Deuteranopia (green-blind)
#444D64
Tritanopia (blue-blind)
#891A3D
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #811766; /* rgb */ color: rgb(129, 23, 102); /* oklch */ color: oklch(41.8% 0.161 340.9);
Tailwind
colors: {
custom: {
50: '#a96292',
500: '#811766',
950: '#000000',
},
}SCSS
$custom: #811766; $custom-light: #a96292; $custom-dark: #000000;
JSON
{
"hex": "#811766",
"rgb": {
"r": 129,
"g": 23,
"b": 102
},
"hsl": {
"h": 315.283,
"s": 69.737,
"l": 29.804
},
"oklch": {
"l": 0.4181,
"c": 0.1612,
"h": 340.9
},
"luminance": 0.06239
}Semantic roles & 50–950 ramp
primary
#811766
secondary
#3EB55D
accent
#ED683B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060D
muted
#7F7A7D