#511512#511512
#511512 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.6% C 0.090 H 27.0°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).
Color values
| HEX | #511512 |
|---|---|
| RGB | rgb(81, 21, 18) |
| HSL | hsl(3, 64%, 19%) |
| HSV | hsv(3, 78%, 32%) |
| CMYK | cmyk(0%, 74.1%, 77.8%, 68.2%) |
| CIE-LAB | lab(17.13, 27.73, 17.76) |
| CIE-LCH | lch(17.13, 32.93, 32.64°) |
| OKLab | oklab(29.63% 0.0804 0.0409) |
| OKLCH | oklch(29.63% 0.09 27) |
| XYZ | xyz(3.7711, 2.3299, 0.8233) |
| Luminance | 0.0233 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.60
Mahogany
#4A0100
ΔE00 3.66
Deep Brown
#410200
ΔE00 4.66
Rosewood
#65000B
ΔE00 5.53
Claret
#680018
ΔE00 6.56
Dark Maroon
#3C0008
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511512 #124E51
analogous
#51122F #511512 #513512
triadic
#511512 #125115 #151251
tetradic
#511512 #2F5112 #124E51 #351251
square
#511512 #2F5112 #124E51 #351251
split-complementary
#511512 #125135 #122F51
monochromatic
#190606 #1F0807 #511512 #83221D #B52F28
Accessibility & contrast
On white
14.33
#511512 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#511512 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511512
14.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511512 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511512 | 1.00 | 14.33 | 1.47 | 14.33 |
| #FFFFFF | 14.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#262211
Deuteranopia (green-blind)
#352F10
Tritanopia (blue-blind)
#5A0515
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #511512; /* rgb */ color: rgb(81, 21, 18); /* oklch */ color: oklch(29.6% 0.090 27.0);
Tailwind
colors: {
custom: {
50: '#875650',
500: '#511512',
950: '#000000',
},
}SCSS
$custom: #511512; $custom-light: #875650; $custom-dark: #000000;
JSON
{
"hex": "#511512",
"rgb": {
"r": 81,
"g": 21,
"b": 18
},
"hsl": {
"h": 2.857,
"s": 63.636,
"l": 19.412
},
"oklch": {
"l": 0.29626,
"c": 0.09017,
"h": 27
},
"luminance": 0.02329
}Semantic roles & 50–950 ramp
primary
#511512
secondary
#35868A
accent
#DFE741
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878