#812147#812147
#812147 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.134 H 0.9°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #812147 |
|---|---|
| RGB | rgb(129, 33, 71) |
| HSL | hsl(336, 59%, 32%) |
| HSV | hsv(336, 74%, 51%) |
| CMYK | cmyk(0%, 74.4%, 45%, 49.4%) |
| CIE-LAB | lab(29.94, 43.68, 0.67) |
| CIE-LCH | lch(29.94, 43.68, 0.87°) |
| OKLab | oklab(41.35% 0.1339 0.0022) |
| OKLCH | oklch(41.35% 0.134 0.9) |
| XYZ | xyz(10.7353, 6.2111, 6.5936) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.28
Wine (survey)
#80013F
ΔE00 3.37
Mulberry
#920A4E
ΔE00 3.83
Reddish Purple
#910951
ΔE00 4.22
Berry
#990F4B
ΔE00 4.66
Merlot
#730039
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#812147 #21815B
analogous
#812177 #812147 #812B21
triadic
#812147 #478121 #214781
tetradic
#812147 #778121 #21815B #2B2181
square
#812147 #778121 #21815B #2B2181
split-complementary
#812147 #21812B #217781
monochromatic
#200811 #50152C #812147 #B22D62 #D14B80
Accessibility & contrast
On white
9.37
#812147 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#812147 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #812147
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##812147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##812147 | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363B48
Deuteranopia (green-blind)
#504D45
Tritanopia (blue-blind)
#8C1231
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #812147; /* rgb */ color: rgb(129, 33, 71); /* oklch */ color: oklch(41.4% 0.134 0.9);
Tailwind
colors: {
custom: {
50: '#aa657a',
500: '#812147',
950: '#000000',
},
}SCSS
$custom: #812147; $custom-light: #aa657a; $custom-dark: #000000;
JSON
{
"hex": "#812147",
"rgb": {
"r": 129,
"g": 33,
"b": 71
},
"hsl": {
"h": 336.25,
"s": 59.259,
"l": 31.765
},
"oklch": {
"l": 0.41352,
"c": 0.13392,
"h": 0.9
},
"luminance": 0.0621
}Semantic roles & 50–950 ramp
primary
#812147
secondary
#4AB48A
accent
#E2A445
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110609
muted
#807A7B