#511012#511012
#511012 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.0% C 0.096 H 24.0°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).
Color values
| HEX | #511012 |
|---|---|
| RGB | rgb(81, 16, 18) |
| HSL | hsl(358, 67%, 19%) |
| HSV | hsv(358, 80%, 32%) |
| CMYK | cmyk(0%, 80.2%, 77.8%, 68.2%) |
| CIE-LAB | lab(16.33, 29.94, 16.77) |
| CIE-LCH | lch(16.33, 34.32, 29.25°) |
| OKLab | oklab(29.03% 0.0874 0.0388) |
| OKLCH | oklch(29.03% 0.096 24) |
| XYZ | xyz(3.6882, 2.1641, 0.7957) |
| Luminance | 0.0216 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 2.85
Mahogany
#4A0100
ΔE00 2.97
Deep Brown
#410200
ΔE00 3.91
Rosewood
#65000B
ΔE00 5.24
Claret
#680018
ΔE00 5.52
Dark Maroon
#3C0008
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511012 #10514F
analogous
#511033 #511012 #512F10
triadic
#511012 #125110 #101251
tetradic
#511012 #335110 #10514F #2F1051
square
#511012 #335110 #10514F #2F1051
split-complementary
#511012 #10512F #103351
monochromatic
#1A0506 #1E0607 #511012 #841A1D #B72429
Accessibility & contrast
On white
14.66
#511012 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#511012 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511012
14.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511012 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511012 | 1.00 | 14.66 | 1.43 | 14.66 |
| #FFFFFF | 14.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232011
Deuteranopia (green-blind)
#332E10
Tritanopia (blue-blind)
#5A0011
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #511012; /* rgb */ color: rgb(81, 16, 18); /* oklch */ color: oklch(29.0% 0.096 24.0);
Tailwind
colors: {
custom: {
50: '#88544f',
500: '#511012',
950: '#000000',
},
}SCSS
$custom: #511012; $custom-light: #88544f; $custom-dark: #000000;
JSON
{
"hex": "#511012",
"rgb": {
"r": 81,
"g": 16,
"b": 18
},
"hsl": {
"h": 358.154,
"s": 67.01,
"l": 19.02
},
"oklch": {
"l": 0.29025,
"c": 0.0956,
"h": 24
},
"luminance": 0.02164
}Semantic roles & 50–950 ramp
primary
#511012
secondary
#328B88
accent
#EAE53E
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878