#511E17#511E17
#511E17 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.0% C 0.078 H 30.0°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).
Color values
| HEX | #511E17 |
|---|---|
| RGB | rgb(81, 30, 23) |
| HSL | hsl(7, 56%, 20%) |
| HSV | hsv(7, 72%, 32%) |
| CMYK | cmyk(0%, 63%, 71.6%, 68.2%) |
| CIE-LAB | lab(18.97, 23.36, 16.70) |
| CIE-LCH | lch(18.97, 28.71, 35.56°) |
| OKLab | oklab(31.04% 0.0678 0.0392) |
| OKLCH | oklch(31.04% 0.078 30) |
| XYZ | xyz(4.0126, 2.7403, 1.1281) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 5.95
Mahogany
#4A0100
ΔE00 5.97
Deep Brown
#410200
ΔE00 6.53
Chocolate Brown
#411900
ΔE00 6.74
Rosewood
#65000B
ΔE00 7.31
Claret
#680018
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511E17 #174A51
analogous
#51172D #511E17 #513B17
triadic
#511E17 #17511E #1E1751
tetradic
#511E17 #2D5117 #174A51 #3B1751
square
#511E17 #2D5117 #174A51 #3B1751
split-complementary
#511E17 #17513B #172D51
monochromatic
#180907 #210C09 #511E17 #813025 #B04132
Accessibility & contrast
On white
13.57
#511E17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#511E17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511E17
13.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511E17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511E17 | 1.00 | 13.57 | 1.55 | 13.57 |
| #FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B2716
Deuteranopia (green-blind)
#383216
Tritanopia (blue-blind)
#59141D
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #511e17; /* rgb */ color: rgb(81, 30, 23); /* oklch */ color: oklch(31.0% 0.078 30.0);
Tailwind
colors: {
custom: {
50: '#865c54',
500: '#511e17',
950: '#000000',
},
}SCSS
$custom: #511e17; $custom-light: #865c54; $custom-dark: #000000;
JSON
{
"hex": "#511e17",
"rgb": {
"r": 81,
"g": 30,
"b": 23
},
"hsl": {
"h": 7.241,
"s": 55.769,
"l": 20.392
},
"oklch": {
"l": 0.31038,
"c": 0.07834,
"h": 30
},
"luminance": 0.0274
}Semantic roles & 50–950 ramp
primary
#511E17
secondary
#3C7F88
accent
#CDDF49
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978