#511D1C#511D1C
#511D1C is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.0% C 0.079 H 23.9°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).
Color values
| HEX | #511D1C |
|---|---|
| RGB | rgb(81, 29, 28) |
| HSL | hsl(1, 49%, 21%) |
| HSV | hsv(1, 65%, 32%) |
| CMYK | cmyk(0%, 64.2%, 65.4%, 68.2%) |
| CIE-LAB | lab(18.85, 24.31, 13.14) |
| CIE-LCH | lch(18.85, 27.63, 28.39°) |
| OKLab | oklab(30.98% 0.0718 0.0318) |
| OKLCH | oklch(30.98% 0.079 23.9) |
| XYZ | xyz(4.0427, 2.7124, 1.4090) |
| Luminance | 0.0271 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 5.96
Mahogany
#4A0100
ΔE00 6.02
Deep Brown
#410200
ΔE00 6.10
Claret
#680018
ΔE00 7.30
Dark Maroon
#3C0008
ΔE00 7.33
Rosewood
#65000B
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511D1C #1C5051
analogous
#511C36 #511D1C #51381C
triadic
#511D1C #1C511D #1D1C51
tetradic
#511D1C #36511C #1C5051 #381C51
square
#511D1C #36511C #1C5051 #381C51
split-complementary
#511D1C #1C5138 #1C3651
monochromatic
#170808 #240D0C #511D1C #7E2D2C #AC3E3B
Accessibility & contrast
On white
13.62
#511D1C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#511D1C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511D1C
13.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511D1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511D1C | 1.00 | 13.62 | 1.54 | 13.62 |
| #FFFFFF | 13.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A271C
Deuteranopia (green-blind)
#37321B
Tritanopia (blue-blind)
#59131D
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #511d1c; /* rgb */ color: rgb(81, 29, 28); /* oklch */ color: oklch(31.0% 0.079 23.9);
Tailwind
colors: {
custom: {
50: '#865b58',
500: '#511d1c',
950: '#000000',
},
}SCSS
$custom: #511d1c; $custom-light: #865b58; $custom-dark: #000000;
JSON
{
"hex": "#511d1c",
"rgb": {
"r": 81,
"g": 29,
"b": 28
},
"hsl": {
"h": 1.132,
"s": 48.624,
"l": 21.373
},
"oklch": {
"l": 0.30979,
"c": 0.07856,
"h": 23.9
},
"luminance": 0.02712
}Semantic roles & 50–950 ramp
primary
#511D1C
secondary
#428587
accent
#D6D850
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978