#813166#813166
#813166 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.4% C 0.127 H 343.0°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #813166 |
|---|---|
| RGB | rgb(129, 49, 102) |
| HSL | hsl(320, 45%, 35%) |
| HSV | hsv(320, 62%, 51%) |
| CMYK | cmyk(0%, 62%, 20.9%, 49.4%) |
| CIE-LAB | lab(33.61, 40.76, -13.98) |
| CIE-LCH | lch(33.61, 43.09, 341.06°) |
| OKLab | oklab(44.44% 0.1218 -0.0373) |
| OKLCH | oklch(44.44% 0.127 343) |
| XYZ | xyz(12.5502, 7.8242, 13.4170) |
| Luminance | 0.0782 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.08
Grape
#6C3461
ΔE00 4.64
Red Violet
#9E0168
ΔE00 6.57
Velvet
#750851
ΔE00 6.91
Light Eggplant
#894585
ΔE00 7.37
Dark Magenta
#960056
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#813166 #31814C
analogous
#743181 #813166 #81313E
triadic
#813166 #668131 #316681
tetradic
#813166 #817431 #31814C #313E81
square
#813166 #817431 #31814C #313E81
split-complementary
#813166 #3E8131 #318174
monochromatic
#280F20 #552043 #813166 #AD4289 #C567A6
Accessibility & contrast
On white
8.19
#813166 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#813166 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #813166
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##813166 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##813166 | 1.00 | 8.19 | 2.56 | 8.19 |
| #FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374768
Deuteranopia (green-blind)
#4E5464
Tritanopia (blue-blind)
#893147
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #813166; /* rgb */ color: rgb(129, 49, 102); /* oklch */ color: oklch(44.4% 0.127 343.0);
Tailwind
colors: {
custom: {
50: '#a86e91',
500: '#813166',
950: '#000000',
},
}SCSS
$custom: #813166; $custom-light: #a86e91; $custom-dark: #000000;
JSON
{
"hex": "#813166",
"rgb": {
"r": 129,
"g": 49,
"b": 102
},
"hsl": {
"h": 320.25,
"s": 44.944,
"l": 34.902
},
"oklch": {
"l": 0.44438,
"c": 0.12736,
"h": 343
},
"luminance": 0.07823
}Semantic roles & 50–950 ramp
primary
#813166
secondary
#61AD7B
accent
#D57F53
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070D
muted
#7F7A7D