#511F17#511F17
#511F17 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.2% C 0.077 H 31.1°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).
Color values
| HEX | #511F17 |
|---|---|
| RGB | rgb(81, 31, 23) |
| HSL | hsl(8, 56%, 20%) |
| HSV | hsv(8, 72%, 32%) |
| CMYK | cmyk(0%, 61.7%, 71.6%, 68.2%) |
| CIE-LAB | lab(19.19, 22.79, 16.96) |
| CIE-LCH | lch(19.19, 28.41, 36.66°) |
| OKLab | oklab(31.2% 0.0661 0.0398) |
| OKLCH | oklch(31.2% 0.077 31.1) |
| XYZ | xyz(4.0384, 2.7917, 1.1366) |
| Luminance | 0.0279 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 6.30
Mahogany
#4A0100
ΔE00 6.31
Chocolate Brown
#411900
ΔE00 6.42
Deep Brown
#410200
ΔE00 6.88
Rosewood
#65000B
ΔE00 7.58
Chocolate (survey)
#3D1C02
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511F17 #174951
analogous
#51172C #511F17 #513C17
triadic
#511F17 #17511F #1F1751
tetradic
#511F17 #2C5117 #174951 #3C1751
square
#511F17 #2C5117 #174951 #3C1751
split-complementary
#511F17 #17513C #172C51
monochromatic
#180907 #210D09 #511F17 #813125 #B04332
Accessibility & contrast
On white
13.48
#511F17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#511F17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511F17
13.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511F17 | 1.00 | 13.48 | 1.56 | 13.48 |
| #FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C2816
Deuteranopia (green-blind)
#383316
Tritanopia (blue-blind)
#59151D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #511f17; /* rgb */ color: rgb(81, 31, 23); /* oklch */ color: oklch(31.2% 0.077 31.1);
Tailwind
colors: {
custom: {
50: '#865c54',
500: '#511f17',
950: '#000000',
},
}SCSS
$custom: #511f17; $custom-light: #865c54; $custom-dark: #000000;
JSON
{
"hex": "#511f17",
"rgb": {
"r": 81,
"g": 31,
"b": 23
},
"hsl": {
"h": 8.276,
"s": 55.769,
"l": 20.392
},
"oklch": {
"l": 0.31202,
"c": 0.07713,
"h": 31.1
},
"luminance": 0.02791
}Semantic roles & 50–950 ramp
primary
#511F17
secondary
#3C7E88
accent
#CADF49
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978