#511A1B#511A1B
#511A1B is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.5% C 0.083 H 22.3°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).
Color values
| HEX | #511A1B |
|---|---|
| RGB | rgb(81, 26, 27) |
| HSL | hsl(359, 51%, 21%) |
| HSV | hsv(359, 68%, 32%) |
| CMYK | cmyk(0%, 67.9%, 66.7%, 68.2%) |
| CIE-LAB | lab(18.22, 25.84, 13.02) |
| CIE-LCH | lch(18.22, 28.93, 26.74°) |
| OKLab | oklab(30.5% 0.0765 0.0314) |
| OKLCH | oklch(30.5% 0.083 22.3) |
| XYZ | xyz(3.9609, 2.5678, 1.3238) |
| Luminance | 0.0257 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 5.42
Mahogany
#4A0100
ΔE00 5.50
Deep Brown
#410200
ΔE00 5.56
Dark Maroon
#3C0008
ΔE00 6.61
Claret
#680018
ΔE00 6.65
Rosewood
#65000B
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511A1B #1A5150
analogous
#511A36 #511A1B #51341A
triadic
#511A1B #1B511A #1A1B51
tetradic
#511A1B #36511A #1A5150 #341A51
square
#511A1B #36511A #1A5150 #341A51
split-complementary
#511A1B #1A5134 #1A3651
monochromatic
#170708 #230B0C #511A1B #7F292A #AE383A
Accessibility & contrast
On white
13.88
#511A1B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#511A1B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511A1B
13.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511A1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511A1B | 1.00 | 13.88 | 1.51 | 13.88 |
| #FFFFFF | 13.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28251B
Deuteranopia (green-blind)
#36311A
Tritanopia (blue-blind)
#590F1B
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #511a1b; /* rgb */ color: rgb(81, 26, 27); /* oklch */ color: oklch(30.5% 0.083 22.3);
Tailwind
colors: {
custom: {
50: '#865957',
500: '#511a1b',
950: '#000000',
},
}SCSS
$custom: #511a1b; $custom-light: #865957; $custom-dark: #000000;
JSON
{
"hex": "#511a1b",
"rgb": {
"r": 81,
"g": 26,
"b": 27
},
"hsl": {
"h": 358.909,
"s": 51.402,
"l": 20.98
},
"oklch": {
"l": 0.30497,
"c": 0.08267,
"h": 22.3
},
"luminance": 0.02567
}Semantic roles & 50–950 ramp
primary
#511A1B
secondary
#408786
accent
#DBD84D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978