#811212#811212
#811212 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.9% C 0.145 H 27.3°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #811212 |
|---|---|
| RGB | rgb(129, 18, 18) |
| HSL | hsl(0, 76%, 29%) |
| HSV | hsv(0, 86%, 51%) |
| CMYK | cmyk(0%, 86%, 86%, 49.4%) |
| CIE-LAB | lab(27.14, 45.09, 31.53) |
| CIE-LCH | lch(27.14, 55.02, 34.96°) |
| OKLab | oklab(38.94% 0.1288 0.0665) |
| OKLCH | oklch(38.94% 0.145 27.3) |
| XYZ | xyz(9.3799, 5.1450, 1.0714) |
| Luminance | 0.0514 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.27
Maroon
#800000
ΔE00 2.98
Blood
#770001
ΔE00 3.17
Dark Red
#840000
ΔE00 3.17
Indian Red
#850E04
ΔE00 3.26
Darkred
#8B0000
ΔE00 3.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#811212 #128181
analogous
#81124A #811212 #814A12
triadic
#811212 #128112 #121281
tetradic
#811212 #4A8112 #128181 #4A1281
square
#811212 #4A8112 #128181 #4A1281
split-complementary
#811212 #12814A #124A81
monochromatic
#1B0404 #4B0B0B #811212 #B71919 #E22C2C
Accessibility & contrast
On white
10.35
#811212 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#811212 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #811212
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##811212 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##811212 | 1.00 | 10.35 | 2.03 | 10.35 |
| #FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373110
Deuteranopia (green-blind)
#52490C
Tritanopia (blue-blind)
#8F0014
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #811212; /* rgb */ color: rgb(129, 18, 18); /* oklch */ color: oklch(38.9% 0.145 27.3);
Tailwind
colors: {
custom: {
50: '#af5e51',
500: '#811212',
950: '#000000',
},
}SCSS
$custom: #811212; $custom-light: #af5e51; $custom-dark: #000000;
JSON
{
"hex": "#811212",
"rgb": {
"r": 129,
"g": 18,
"b": 18
},
"hsl": {
"h": 0,
"s": 75.51,
"l": 28.824
},
"oklch": {
"l": 0.38937,
"c": 0.14493,
"h": 27.3
},
"luminance": 0.05143
}Semantic roles & 50–950 ramp
primary
#811212
secondary
#38B7B7
accent
#F2F236
background
#FBF5F4
surface
#F7EAE7
border
#D0C6C3
text
#120502
muted
#817978