#511B20#511B20
#511B20 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.8% C 0.081 H 17.7°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).
Color values
| HEX | #511B20 |
|---|---|
| RGB | rgb(81, 27, 32) |
| HSL | hsl(354, 50%, 21%) |
| HSV | hsv(354, 67%, 32%) |
| CMYK | cmyk(0%, 66.7%, 60.5%, 68.2%) |
| CIE-LAB | lab(18.53, 25.74, 9.92) |
| CIE-LCH | lch(18.53, 27.59, 21.08°) |
| OKLab | oklab(30.76% 0.0771 0.0246) |
| OKLCH | oklch(30.76% 0.081 17.7) |
| XYZ | xyz(4.0463, 2.6380, 1.6623) |
| Luminance | 0.0264 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 6.48
Maroon (survey)
#650021
ΔE00 6.59
Deep Brown
#410200
ΔE00 6.61
Burgundy (survey)
#610023
ΔE00 6.66
Dried Blood
#4B0101
ΔE00 6.89
Mahogany
#4A0100
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511B20 #1B514C
analogous
#511B3B #511B20 #51311B
triadic
#511B20 #20511B #1B2051
tetradic
#511B20 #3B511B #1B514C #311B51
square
#511B20 #3B511B #1B514C #311B51
split-complementary
#511B20 #1B5131 #1B3B51
monochromatic
#170809 #230C0E #511B20 #7F2A32 #AD3A44
Accessibility & contrast
On white
13.75
#511B20 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#511B20 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511B20
13.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511B20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511B20 | 1.00 | 13.75 | 1.53 | 13.75 |
| #FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#282620
Deuteranopia (green-blind)
#36311F
Tritanopia (blue-blind)
#59121D
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #511b20; /* rgb */ color: rgb(81, 27, 32); /* oklch */ color: oklch(30.8% 0.081 17.7);
Tailwind
colors: {
custom: {
50: '#865a5b',
500: '#511b20',
950: '#000000',
},
}SCSS
$custom: #511b20; $custom-light: #865a5b; $custom-dark: #000000;
JSON
{
"hex": "#511b20",
"rgb": {
"r": 81,
"g": 27,
"b": 32
},
"hsl": {
"h": 354.444,
"s": 50,
"l": 21.176
},
"oklch": {
"l": 0.30765,
"c": 0.08094,
"h": 17.7
},
"luminance": 0.02637
}Semantic roles & 50–950 ramp
primary
#511B20
secondary
#418780
accent
#DACD4E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0404
muted
#7D7979