#531212#531212
#531212 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.7% C 0.096 H 25.2°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).
Color values
| HEX | #531212 |
|---|---|
| RGB | rgb(83, 18, 18) |
| HSL | hsl(0, 64%, 20%) |
| HSV | hsv(0, 78%, 33%) |
| CMYK | cmyk(0%, 78.3%, 78.3%, 67.5%) |
| CIE-LAB | lab(17.06, 29.84, 17.78) |
| CIE-LCH | lch(17.06, 34.73, 30.79°) |
| OKLab | oklab(29.65% 0.0867 0.0408) |
| OKLCH | oklch(29.65% 0.096 25.2) |
| XYZ | xyz(3.8932, 2.3159, 0.8142) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.12
Mahogany
#4A0100
ΔE00 3.24
Deep Brown
#410200
ΔE00 4.47
Rosewood
#65000B
ΔE00 4.83
Claret
#680018
ΔE00 5.58
Dark Maroon
#3C0008
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#531212 #125353
analogous
#531233 #531212 #533312
triadic
#531212 #125312 #121253
tetradic
#531212 #335312 #125353 #331253
square
#531212 #335312 #125353 #331253
split-complementary
#531212 #125333 #123353
monochromatic
#190505 #210707 #531212 #851D1D #B82828
Accessibility & contrast
On white
14.35
#531212 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#531212 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #531212
14.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##531212 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##531212 | 1.00 | 14.35 | 1.46 | 14.35 |
| #FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#252111
Deuteranopia (green-blind)
#352F10
Tritanopia (blue-blind)
#5C0013
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #531212; /* rgb */ color: rgb(83, 18, 18); /* oklch */ color: oklch(29.7% 0.096 25.2);
Tailwind
colors: {
custom: {
50: '#895550',
500: '#531212',
950: '#000000',
},
}SCSS
$custom: #531212; $custom-light: #895550; $custom-dark: #000000;
JSON
{
"hex": "#531212",
"rgb": {
"r": 83,
"g": 18,
"b": 18
},
"hsl": {
"h": 0,
"s": 64.356,
"l": 19.804
},
"oklch": {
"l": 0.29655,
"c": 0.09586,
"h": 25.2
},
"luminance": 0.02315
}Semantic roles & 50–950 ramp
primary
#531212
secondary
#358C8C
accent
#E7E740
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0302
muted
#7D7878