#511C12#511C12
#511C12 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.6% C 0.082 H 32.6°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).
Color values
| HEX | #511C12 |
|---|---|
| RGB | rgb(81, 28, 18) |
| HSL | hsl(10, 64%, 19%) |
| HSV | hsv(10, 78%, 32%) |
| CMYK | cmyk(0%, 65.4%, 77.8%, 68.2%) |
| CIE-LAB | lab(18.47, 24.14, 19.37) |
| CIE-LCH | lch(18.47, 30.95, 38.74°) |
| OKLab | oklab(30.63% 0.0692 0.0443) |
| OKLCH | oklch(30.63% 0.082 32.6) |
| XYZ | xyz(3.9182, 2.6240, 0.8723) |
| Luminance | 0.0262 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Chocolate Brown
#411900
ΔE00 5.76
Mahogany
#4A0100
ΔE00 5.83
Dried Blood
#4B0101
ΔE00 5.83
Deep Brown
#410200
ΔE00 6.71
Rosewood
#65000B
ΔE00 7.03
Reddy Brown
#6E1005
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511C12 #124751
analogous
#511228 #511C12 #513C12
triadic
#511C12 #12511C #1C1251
tetradic
#511C12 #285112 #124751 #3C1251
square
#511C12 #285112 #124751 #3C1251
split-complementary
#511C12 #12513C #122851
monochromatic
#190906 #1F0B07 #511C12 #832D1D #B53F28
Accessibility & contrast
On white
13.77
#511C12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#511C12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511C12
13.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511C12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511C12 | 1.00 | 13.77 | 1.52 | 13.77 |
| #FFFFFF | 13.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A2611
Deuteranopia (green-blind)
#373110
Tritanopia (blue-blind)
#5A101A
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #511c12; /* rgb */ color: rgb(81, 28, 18); /* oklch */ color: oklch(30.6% 0.082 32.6);
Tailwind
colors: {
custom: {
50: '#875a50',
500: '#511c12',
950: '#000000',
},
}SCSS
$custom: #511c12; $custom-light: #875a50; $custom-dark: #000000;
JSON
{
"hex": "#511c12",
"rgb": {
"r": 81,
"g": 28,
"b": 18
},
"hsl": {
"h": 9.524,
"s": 63.636,
"l": 19.412
},
"oklch": {
"l": 0.30634,
"c": 0.0821,
"h": 32.6
},
"luminance": 0.02624
}Semantic roles & 50–950 ramp
primary
#511C12
secondary
#357C8A
accent
#CCE741
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978