#511312#511312
#511312 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.4% C 0.092 H 25.7°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).
Color values
| HEX | #511312 |
|---|---|
| RGB | rgb(81, 19, 18) |
| HSL | hsl(1, 64%, 19%) |
| HSV | hsv(1, 78%, 32%) |
| CMYK | cmyk(0%, 76.5%, 77.8%, 68.2%) |
| CIE-LAB | lab(16.79, 28.65, 17.35) |
| CIE-LCH | lch(16.79, 33.49, 31.19°) |
| OKLab | oklab(29.37% 0.0833 0.04) |
| OKLCH | oklch(29.37% 0.092 25.7) |
| XYZ | xyz(3.7358, 2.2593, 0.8115) |
| Luminance | 0.0226 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.20
Mahogany
#4A0100
ΔE00 3.29
Deep Brown
#410200
ΔE00 4.28
Rosewood
#65000B
ΔE00 5.34
Claret
#680018
ΔE00 6.09
Dark Maroon
#3C0008
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511312 #125051
analogous
#511231 #511312 #513312
triadic
#511312 #125113 #131251
tetradic
#511312 #315112 #125051 #331251
square
#511312 #315112 #125051 #331251
split-complementary
#511312 #125133 #123151
monochromatic
#190606 #1F0707 #511312 #831F1D #B52A28
Accessibility & contrast
On white
14.46
#511312 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#511312 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511312
14.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511312 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511312 | 1.00 | 14.46 | 1.45 | 14.46 |
| #FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#252111
Deuteranopia (green-blind)
#342E10
Tritanopia (blue-blind)
#5A0213
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #511312; /* rgb */ color: rgb(81, 19, 18); /* oklch */ color: oklch(29.4% 0.092 25.7);
Tailwind
colors: {
custom: {
50: '#885550',
500: '#511312',
950: '#000000',
},
}SCSS
$custom: #511312; $custom-light: #885550; $custom-dark: #000000;
JSON
{
"hex": "#511312",
"rgb": {
"r": 81,
"g": 19,
"b": 18
},
"hsl": {
"h": 0.952,
"s": 63.636,
"l": 19.412
},
"oklch": {
"l": 0.29373,
"c": 0.0924,
"h": 25.7
},
"luminance": 0.02259
}Semantic roles & 50–950 ramp
primary
#511312
secondary
#35898A
accent
#E4E741
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878