#812031#812031
#812031 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.6% C 0.131 H 15.5°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #812031 |
|---|---|
| RGB | rgb(129, 32, 49) |
| HSL | hsl(349, 60%, 32%) |
| HSV | hsv(349, 75%, 51%) |
| CMYK | cmyk(0%, 75.2%, 62%, 49.4%) |
| CIE-LAB | lab(29.22, 42.12, 14.28) |
| CIE-LCH | lch(29.22, 44.47, 18.73°) |
| OKLab | oklab(40.63% 0.1263 0.035) |
| OKLCH | oklch(40.63% 0.131 15.5) |
| XYZ | xyz(10.1252, 5.9234, 3.5153) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.85
Red Wine
#8C0034
ΔE00 4.13
Bordeaux
#7B002C
ΔE00 4.34
Burgundy
#800020
ΔE00 4.47
Wine
#722F37
ΔE00 4.67
Cranberry
#9E003A
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#812031 #208170
analogous
#812062 #812031 #814020
triadic
#812031 #318120 #203181
tetradic
#812031 #628120 #208170 #402081
square
#812031 #628120 #208170 #402081
split-complementary
#812031 #208140 #206281
monochromatic
#1F080C #50141E #812031 #B22C44 #D24961
Accessibility & contrast
On white
9.61
#812031 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#812031 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #812031
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##812031 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##812031 | 1.00 | 9.61 | 2.18 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3831
Deuteranopia (green-blind)
#534C2E
Tritanopia (blue-blind)
#8E0327
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #812031; /* rgb */ color: rgb(129, 32, 49); /* oklch */ color: oklch(40.6% 0.131 15.5);
Tailwind
colors: {
custom: {
50: '#ac6468',
500: '#812031',
950: '#000000',
},
}SCSS
$custom: #812031; $custom-light: #ac6468; $custom-dark: #000000;
JSON
{
"hex": "#812031",
"rgb": {
"r": 129,
"g": 32,
"b": 49
},
"hsl": {
"h": 349.485,
"s": 60.248,
"l": 31.569
},
"oklch": {
"l": 0.40628,
"c": 0.13103,
"h": 15.5
},
"luminance": 0.05922
}Semantic roles & 50–950 ramp
primary
#812031
secondary
#49B4A1
accent
#E3C844
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A