#511C21#511C21
#511C21 is a dark, moderate red. Relative luminance 0.027; OKLCH L 30.9% C 0.080 H 17.4°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).
Color values
| HEX | #511C21 |
|---|---|
| RGB | rgb(81, 28, 33) |
| HSL | hsl(354, 49%, 21%) |
| HSV | hsv(354, 65%, 32%) |
| CMYK | cmyk(0%, 65.4%, 59.3%, 68.2%) |
| CIE-LAB | lab(18.76, 25.30, 9.52) |
| CIE-LCH | lch(18.76, 27.03, 20.63°) |
| OKLab | oklab(30.94% 0.0759 0.0237) |
| OKLCH | oklch(30.94% 0.08 17.4) |
| XYZ | xyz(4.0834, 2.6901, 1.7428) |
| Luminance | 0.0269 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 6.68
Maroon (survey)
#650021
ΔE00 6.74
Burgundy (survey)
#610023
ΔE00 6.76
Deep Brown
#410200
ΔE00 6.89
Dried Blood
#4B0101
ΔE00 7.21
Mahogany
#4A0100
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511C21 #1C514C
analogous
#511C3C #511C21 #51321C
triadic
#511C21 #21511C #1C2151
tetradic
#511C21 #3C511C #1C514C #321C51
square
#511C21 #3C511C #1C514C #321C51
split-complementary
#511C21 #1C5132 #1C3C51
monochromatic
#170809 #240C0E #511C21 #7E2C34 #AC3B46
Accessibility & contrast
On white
13.65
#511C21 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#511C21 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511C21
13.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511C21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511C21 | 1.00 | 13.65 | 1.54 | 13.65 |
| #FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#282721
Deuteranopia (green-blind)
#363220
Tritanopia (blue-blind)
#59131E
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #511c21; /* rgb */ color: rgb(81, 28, 33); /* oklch */ color: oklch(30.9% 0.080 17.4);
Tailwind
colors: {
custom: {
50: '#865b5c',
500: '#511c21',
950: '#000000',
},
}SCSS
$custom: #511c21; $custom-light: #865b5c; $custom-dark: #000000;
JSON
{
"hex": "#511c21",
"rgb": {
"r": 81,
"g": 28,
"b": 33
},
"hsl": {
"h": 354.34,
"s": 48.624,
"l": 21.373
},
"oklch": {
"l": 0.30943,
"c": 0.0795,
"h": 17.4
},
"luminance": 0.0269
}Semantic roles & 50–950 ramp
primary
#511C21
secondary
#428780
accent
#D8CB50
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0404
muted
#7D7979