#511B12#511B12
#511B12 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.5% C 0.083 H 31.7°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).
Color values
| HEX | #511B12 |
|---|---|
| RGB | rgb(81, 27, 18) |
| HSL | hsl(9, 64%, 19%) |
| HSV | hsv(9, 78%, 32%) |
| CMYK | cmyk(0%, 66.7%, 77.8%, 68.2%) |
| CIE-LAB | lab(18.27, 24.69, 19.13) |
| CIE-LCH | lch(18.27, 31.23, 37.77°) |
| OKLab | oklab(30.48% 0.0708 0.0437) |
| OKLCH | oklch(30.48% 0.083 31.7) |
| XYZ | xyz(3.8949, 2.5774, 0.8645) |
| Luminance | 0.0258 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Mahogany
#4A0100
ΔE00 5.45
Dried Blood
#4B0101
ΔE00 5.45
Chocolate Brown
#411900
ΔE00 6.07
Deep Brown
#410200
ΔE00 6.35
Rosewood
#65000B
ΔE00 6.74
Reddy Brown
#6E1005
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511B12 #124851
analogous
#511229 #511B12 #513B12
triadic
#511B12 #12511B #1B1251
tetradic
#511B12 #295112 #124851 #3B1251
square
#511B12 #295112 #124851 #3B1251
split-complementary
#511B12 #12513B #122951
monochromatic
#190806 #1F0A07 #511B12 #832C1D #B53C28
Accessibility & contrast
On white
13.86
#511B12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#511B12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511B12
13.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511B12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511B12 | 1.00 | 13.86 | 1.52 | 13.86 |
| #FFFFFF | 13.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A2511
Deuteranopia (green-blind)
#373110
Tritanopia (blue-blind)
#5A0F19
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #511b12; /* rgb */ color: rgb(81, 27, 18); /* oklch */ color: oklch(30.5% 0.083 31.7);
Tailwind
colors: {
custom: {
50: '#875a50',
500: '#511b12',
950: '#000000',
},
}SCSS
$custom: #511b12; $custom-light: #875a50; $custom-dark: #000000;
JSON
{
"hex": "#511b12",
"rgb": {
"r": 81,
"g": 27,
"b": 18
},
"hsl": {
"h": 8.571,
"s": 63.636,
"l": 19.412
},
"oklch": {
"l": 0.30479,
"c": 0.08326,
"h": 31.7
},
"luminance": 0.02577
}Semantic roles & 50–950 ramp
primary
#511B12
secondary
#357E8A
accent
#CFE741
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978