#812866#812866
#812866 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.141 H 342.0°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #812866 |
|---|---|
| RGB | rgb(129, 40, 102) |
| HSL | hsl(318, 53%, 33%) |
| HSV | hsv(318, 69%, 51%) |
| CMYK | cmyk(0%, 69%, 20.9%, 49.4%) |
| CIE-LAB | lab(32.14, 44.81, -16.25) |
| CIE-LCH | lch(32.14, 47.67, 340.07°) |
| OKLab | oklab(43.35% 0.1341 -0.0436) |
| OKLCH | oklch(43.35% 0.141 342) |
| XYZ | xyz(12.2107, 7.1452, 13.3039) |
| Luminance | 0.0714 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Grape
#6C3461
ΔE00 5.16
Bruise
#7E4071
ΔE00 5.50
Velvet
#750851
ΔE00 5.58
Red Violet
#9E0168
ΔE00 5.86
Rich Purple
#720058
ΔE00 6.04
Darkish Purple
#751973
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#812866 #288143
analogous
#6F2881 #812866 #812839
triadic
#812866 #668128 #286681
tetradic
#812866 #816F28 #288143 #283981
square
#812866 #816F28 #288143 #283981
split-complementary
#812866 #398128 #28816F
monochromatic
#240B1C #521A41 #812866 #B0368B #CB58A8
Accessibility & contrast
On white
8.65
#812866 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#812866 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #812866
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##812866 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##812866 | 1.00 | 8.65 | 2.43 | 8.65 |
| #FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4268
Deuteranopia (green-blind)
#4A5164
Tritanopia (blue-blind)
#892943
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #812866; /* rgb */ color: rgb(129, 40, 102); /* oklch */ color: oklch(43.4% 0.141 342.0);
Tailwind
colors: {
custom: {
50: '#a96991',
500: '#812866',
950: '#000000',
},
}SCSS
$custom: #812866; $custom-light: #a96991; $custom-dark: #000000;
JSON
{
"hex": "#812866",
"rgb": {
"r": 129,
"g": 40,
"b": 102
},
"hsl": {
"h": 318.202,
"s": 52.663,
"l": 33.137
},
"oklch": {
"l": 0.43352,
"c": 0.14098,
"h": 342
},
"luminance": 0.07144
}Semantic roles & 50–950 ramp
primary
#812866
secondary
#54B070
accent
#DC784C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070D
muted
#7F7A7D