#511B21#511B21
#511B21 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.8% C 0.081 H 16.6°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).
Color values
| HEX | #511B21 |
|---|---|
| RGB | rgb(81, 27, 33) |
| HSL | hsl(353, 50%, 21%) |
| HSV | hsv(353, 67%, 32%) |
| CMYK | cmyk(0%, 66.7%, 59.3%, 68.2%) |
| CIE-LAB | lab(18.56, 25.84, 9.25) |
| CIE-LCH | lch(18.56, 27.44, 19.70°) |
| OKLab | oklab(30.79% 0.0776 0.0231) |
| OKLCH | oklch(30.79% 0.081 16.6) |
| XYZ | xyz(4.0601, 2.6435, 1.7350) |
| Luminance | 0.0264 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy (survey)
#610023
ΔE00 6.43
Maroon (survey)
#650021
ΔE00 6.47
Dark Maroon
#3C0008
ΔE00 6.50
Deep Brown
#410200
ΔE00 6.88
Dried Blood
#4B0101
ΔE00 7.24
Claret
#680018
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511B21 #1B514B
analogous
#511B3C #511B21 #51301B
triadic
#511B21 #21511B #1B2151
tetradic
#511B21 #3C511B #1B514B #301B51
square
#511B21 #3C511B #1B514B #301B51
split-complementary
#511B21 #1B5130 #1B3C51
monochromatic
#170809 #230C0E #511B21 #7F2A34 #AD3A46
Accessibility & contrast
On white
13.74
#511B21 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#511B21 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511B21
13.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511B21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511B21 | 1.00 | 13.74 | 1.53 | 13.74 |
| #FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#282621
Deuteranopia (green-blind)
#353120
Tritanopia (blue-blind)
#59121D
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #511b21; /* rgb */ color: rgb(81, 27, 33); /* oklch */ color: oklch(30.8% 0.081 16.6);
Tailwind
colors: {
custom: {
50: '#865a5c',
500: '#511b21',
950: '#000000',
},
}SCSS
$custom: #511b21; $custom-light: #865a5c; $custom-dark: #000000;
JSON
{
"hex": "#511b21",
"rgb": {
"r": 81,
"g": 27,
"b": 33
},
"hsl": {
"h": 353.333,
"s": 50,
"l": 21.176
},
"oklch": {
"l": 0.30791,
"c": 0.08093,
"h": 16.6
},
"luminance": 0.02643
}Semantic roles & 50–950 ramp
primary
#511B21
secondary
#41877F
accent
#DACA4E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0404
muted
#7D7979