#511D1F#511D1F
#511D1F is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.0% C 0.078 H 20.5°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).
Color values
| HEX | #511D1F |
|---|---|
| RGB | rgb(81, 29, 31) |
| HSL | hsl(358, 47%, 22%) |
| HSV | hsv(358, 64%, 32%) |
| CMYK | cmyk(0%, 64.2%, 61.7%, 68.2%) |
| CIE-LAB | lab(18.92, 24.57, 11.14) |
| CIE-LCH | lch(18.92, 26.97, 24.39°) |
| OKLab | oklab(31.05% 0.0732 0.0274) |
| OKLCH | oklch(31.05% 0.078 20.5) |
| XYZ | xyz(4.0804, 2.7275, 1.6076) |
| Luminance | 0.0273 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Deep Brown
#410200
ΔE00 6.50
Dried Blood
#4B0101
ΔE00 6.62
Mahogany
#4A0100
ΔE00 6.69
Dark Maroon
#3C0008
ΔE00 6.96
Claret
#680018
ΔE00 7.30
Maroon (survey)
#650021
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511D1F #1D514F
analogous
#511D39 #511D1F #51351D
triadic
#511D1F #1F511D #1D1F51
tetradic
#511D1F #39511D #1D514F #351D51
square
#511D1F #39511D #1D514F #351D51
split-complementary
#511D1F #1D5135 #1D3951
monochromatic
#170809 #240D0E #511D1F #7E2D30 #AB3D41
Accessibility & contrast
On white
13.59
#511D1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#511D1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511D1F
13.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511D1F | 1.00 | 13.59 | 1.55 | 13.59 |
| #FFFFFF | 13.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29271F
Deuteranopia (green-blind)
#37321E
Tritanopia (blue-blind)
#59141E
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #511d1f; /* rgb */ color: rgb(81, 29, 31); /* oklch */ color: oklch(31.0% 0.078 20.5);
Tailwind
colors: {
custom: {
50: '#865b5a',
500: '#511d1f',
950: '#000000',
},
}SCSS
$custom: #511d1f; $custom-light: #865b5a; $custom-dark: #000000;
JSON
{
"hex": "#511d1f",
"rgb": {
"r": 81,
"g": 29,
"b": 31
},
"hsl": {
"h": 357.692,
"s": 47.273,
"l": 21.569
},
"oklch": {
"l": 0.31048,
"c": 0.07819,
"h": 20.5
},
"luminance": 0.02727
}Semantic roles & 50–950 ramp
primary
#511D1F
secondary
#448684
accent
#D7D251
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978