#511C1F#511C1F
#511C1F is a dark, moderate red. Relative luminance 0.027; OKLCH L 30.9% C 0.080 H 19.7°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).
Color values
| HEX | #511C1F |
|---|---|
| RGB | rgb(81, 28, 31) |
| HSL | hsl(357, 49%, 21%) |
| HSV | hsv(357, 65%, 32%) |
| CMYK | cmyk(0%, 65.4%, 61.7%, 68.2%) |
| CIE-LAB | lab(18.71, 25.11, 10.86) |
| CIE-LCH | lch(18.71, 27.36, 23.39°) |
| OKLab | oklab(30.89% 0.0749 0.0268) |
| OKLCH | oklch(30.89% 0.08 19.7) |
| XYZ | xyz(4.0563, 2.6793, 1.5996) |
| Luminance | 0.0268 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Deep Brown
#410200
ΔE00 6.41
Dried Blood
#4B0101
ΔE00 6.58
Mahogany
#4A0100
ΔE00 6.66
Dark Maroon
#3C0008
ΔE00 6.72
Maroon (survey)
#650021
ΔE00 7.05
Claret
#680018
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511C1F #1C514E
analogous
#511C3A #511C1F #51341C
triadic
#511C1F #1F511C #1C1F51
tetradic
#511C1F #3A511C #1C514E #341C51
square
#511C1F #3A511C #1C514E #341C51
split-complementary
#511C1F #1C5134 #1C3A51
monochromatic
#170809 #240C0E #511C1F #7E2C30 #AC3B42
Accessibility & contrast
On white
13.67
#511C1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#511C1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511C1F
13.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511C1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511C1F | 1.00 | 13.67 | 1.54 | 13.67 |
| #FFFFFF | 13.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29271F
Deuteranopia (green-blind)
#36321E
Tritanopia (blue-blind)
#59131D
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #511c1f; /* rgb */ color: rgb(81, 28, 31); /* oklch */ color: oklch(30.9% 0.080 19.7);
Tailwind
colors: {
custom: {
50: '#865b5a',
500: '#511c1f',
950: '#000000',
},
}SCSS
$custom: #511c1f; $custom-light: #865b5a; $custom-dark: #000000;
JSON
{
"hex": "#511c1f",
"rgb": {
"r": 81,
"g": 28,
"b": 31
},
"hsl": {
"h": 356.604,
"s": 48.624,
"l": 21.373
},
"oklch": {
"l": 0.30892,
"c": 0.07958,
"h": 19.7
},
"luminance": 0.02679
}Semantic roles & 50–950 ramp
primary
#511C1F
secondary
#428783
accent
#D8D050
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978