#501212#501212
#501212 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.1% C 0.092 H 25.0°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).
Color values
| HEX | #501212 |
|---|---|
| RGB | rgb(80, 18, 18) |
| HSL | hsl(0, 63%, 19%) |
| HSV | hsv(0, 78%, 31%) |
| CMYK | cmyk(0%, 77.5%, 77.5%, 68.6%) |
| CIE-LAB | lab(16.42, 28.72, 16.83) |
| CIE-LCH | lch(16.42, 33.29, 30.37°) |
| OKLab | oklab(29.05% 0.0836 0.039) |
| OKLCH | oklch(29.05% 0.092 25) |
| XYZ | xyz(3.6342, 2.1823, 0.8020) |
| Luminance | 0.0218 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.05
Mahogany
#4A0100
ΔE00 3.13
Deep Brown
#410200
ΔE00 3.98
Rosewood
#65000B
ΔE00 5.52
Claret
#680018
ΔE00 6.04
Dark Maroon
#3C0008
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#501212 #125050
analogous
#501231 #501212 #503112
triadic
#501212 #125012 #121250
tetradic
#501212 #315012 #125050 #311250
square
#501212 #315012 #125050 #311250
split-complementary
#501212 #125031 #123150
monochromatic
#190606 #1E0707 #501212 #821D1D #B42828
Accessibility & contrast
On white
14.62
#501212 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#501212 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #501212
14.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##501212 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##501212 | 1.00 | 14.62 | 1.44 | 14.62 |
| #FFFFFF | 14.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242011
Deuteranopia (green-blind)
#332E10
Tritanopia (blue-blind)
#590113
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #501212; /* rgb */ color: rgb(80, 18, 18); /* oklch */ color: oklch(29.1% 0.092 25.0);
Tailwind
colors: {
custom: {
50: '#87554f',
500: '#501212',
950: '#000000',
},
}SCSS
$custom: #501212; $custom-light: #87554f; $custom-dark: #000000;
JSON
{
"hex": "#501212",
"rgb": {
"r": 80,
"g": 18,
"b": 18
},
"hsl": {
"h": 0,
"s": 63.265,
"l": 19.216
},
"oklch": {
"l": 0.29053,
"c": 0.09228,
"h": 25
},
"luminance": 0.02182
}Semantic roles & 50–950 ramp
primary
#501212
secondary
#358989
accent
#E6E641
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878