#511A1A#511A1A
#511A1A is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.5% C 0.083 H 23.4°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).
Color values
| HEX | #511A1A |
|---|---|
| RGB | rgb(81, 26, 26) |
| HSL | hsl(0, 51%, 21%) |
| HSV | hsv(0, 68%, 32%) |
| CMYK | cmyk(0%, 67.9%, 67.9%, 68.2%) |
| CIE-LAB | lab(18.20, 25.76, 13.68) |
| CIE-LCH | lch(18.20, 29.17, 27.98°) |
| OKLab | oklab(30.48% 0.076 0.0329) |
| OKLCH | oklch(30.48% 0.083 23.4) |
| XYZ | xyz(3.9496, 2.5632, 1.2639) |
| Luminance | 0.0256 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 5.21
Mahogany
#4A0100
ΔE00 5.29
Deep Brown
#410200
ΔE00 5.45
Claret
#680018
ΔE00 6.69
Dark Maroon
#3C0008
ΔE00 6.78
Rosewood
#65000B
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511A1A #1A5151
analogous
#511A35 #511A1A #51351A
triadic
#511A1A #1A511A #1A1A51
tetradic
#511A1A #35511A #1A5151 #351A51
square
#511A1A #35511A #1A5151 #351A51
split-complementary
#511A1A #1A5135 #1A3551
monochromatic
#170707 #230B0B #511A1A #7F2929 #AE3838
Accessibility & contrast
On white
13.88
#511A1A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#511A1A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511A1A
13.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511A1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511A1A | 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)
#28251A
Deuteranopia (green-blind)
#363119
Tritanopia (blue-blind)
#590F1B
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #511a1a; /* rgb */ color: rgb(81, 26, 26); /* oklch */ color: oklch(30.5% 0.083 23.4);
Tailwind
colors: {
custom: {
50: '#865956',
500: '#511a1a',
950: '#000000',
},
}SCSS
$custom: #511a1a; $custom-light: #865956; $custom-dark: #000000;
JSON
{
"hex": "#511a1a",
"rgb": {
"r": 81,
"g": 26,
"b": 26
},
"hsl": {
"h": 0,
"s": 51.402,
"l": 20.98
},
"oklch": {
"l": 0.30475,
"c": 0.0828,
"h": 23.4
},
"luminance": 0.02563
}Semantic roles & 50–950 ramp
primary
#511A1A
secondary
#408787
accent
#DBDB4D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978