#511216#511216
#511216 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.3% C 0.093 H 21.7°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).
Color values
| HEX | #511216 |
|---|---|
| RGB | rgb(81, 18, 22) |
| HSL | hsl(356, 64%, 19%) |
| HSV | hsv(356, 78%, 32%) |
| CMYK | cmyk(0%, 77.8%, 72.8%, 68.2%) |
| CIE-LAB | lab(16.70, 29.34, 14.59) |
| CIE-LCH | lch(16.70, 32.76, 26.44°) |
| OKLab | oklab(29.33% 0.0864 0.0344) |
| OKLCH | oklch(29.33% 0.093 21.7) |
| XYZ | xyz(3.7549, 2.2404, 0.9936) |
| Luminance | 0.0224 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.82
Mahogany
#4A0100
ΔE00 3.93
Deep Brown
#410200
ΔE00 4.28
Claret
#680018
ΔE00 5.47
Dark Maroon
#3C0008
ΔE00 5.67
Rosewood
#65000B
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511216 #12514D
analogous
#511236 #511216 #512E12
triadic
#511216 #165112 #121651
tetradic
#511216 #365112 #12514D #2E1251
square
#511216 #365112 #12514D #2E1251
split-complementary
#511216 #12512E #123651
monochromatic
#190607 #1F0708 #511216 #831D24 #B52831
Accessibility & contrast
On white
14.50
#511216 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#511216 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511216
14.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511216 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511216 | 1.00 | 14.50 | 1.45 | 14.50 |
| #FFFFFF | 14.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242116
Deuteranopia (green-blind)
#332E14
Tritanopia (blue-blind)
#5A0114
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #511216; /* rgb */ color: rgb(81, 18, 22); /* oklch */ color: oklch(29.3% 0.093 21.7);
Tailwind
colors: {
custom: {
50: '#875553',
500: '#511216',
950: '#000000',
},
}SCSS
$custom: #511216; $custom-light: #875553; $custom-dark: #000000;
JSON
{
"hex": "#511216",
"rgb": {
"r": 81,
"g": 18,
"b": 22
},
"hsl": {
"h": 356.19,
"s": 63.636,
"l": 19.412
},
"oklch": {
"l": 0.29327,
"c": 0.093,
"h": 21.7
},
"luminance": 0.0224
}Semantic roles & 50–950 ramp
primary
#511216
secondary
#358A84
accent
#E7DC41
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878