#511B17#511B17
#511B17 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.6% C 0.082 H 27.2°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).
Color values
| HEX | #511B17 |
|---|---|
| RGB | rgb(81, 27, 23) |
| HSL | hsl(4, 56%, 20%) |
| HSV | hsv(4, 72%, 32%) |
| CMYK | cmyk(0%, 66.7%, 71.6%, 68.2%) |
| CIE-LAB | lab(18.35, 25.01, 15.93) |
| CIE-LCH | lch(18.35, 29.65, 32.50°) |
| OKLab | oklab(30.57% 0.073 0.0375) |
| OKLCH | oklch(30.57% 0.082 27.2) |
| XYZ | xyz(3.9403, 2.5956, 1.1040) |
| Luminance | 0.0260 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 5.07
Mahogany
#4A0100
ΔE00 5.11
Deep Brown
#410200
ΔE00 5.63
Rosewood
#65000B
ΔE00 6.71
Claret
#680018
ΔE00 7.31
Chocolate Brown
#411900
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511B17 #174D51
analogous
#511730 #511B17 #513817
triadic
#511B17 #17511B #1B1751
tetradic
#511B17 #305117 #174D51 #381751
square
#511B17 #305117 #174D51 #381751
split-complementary
#511B17 #175138 #173051
monochromatic
#180807 #210B09 #511B17 #812B25 #B03B32
Accessibility & contrast
On white
13.82
#511B17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#511B17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511B17
13.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511B17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511B17 | 1.00 | 13.82 | 1.52 | 13.82 |
| #FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#292516
Deuteranopia (green-blind)
#373116
Tritanopia (blue-blind)
#59101A
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #511b17; /* rgb */ color: rgb(81, 27, 23); /* oklch */ color: oklch(30.6% 0.082 27.2);
Tailwind
colors: {
custom: {
50: '#875a54',
500: '#511b17',
950: '#000000',
},
}SCSS
$custom: #511b17; $custom-light: #875a54; $custom-dark: #000000;
JSON
{
"hex": "#511b17",
"rgb": {
"r": 81,
"g": 27,
"b": 23
},
"hsl": {
"h": 4.138,
"s": 55.769,
"l": 20.392
},
"oklch": {
"l": 0.30565,
"c": 0.08206,
"h": 27.2
},
"luminance": 0.02595
}Semantic roles & 50–950 ramp
primary
#511B17
secondary
#3C8388
accent
#D5DF49
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978