#511213#511213
#511213 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.3% C 0.093 H 24.3°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).
Color values
| HEX | #511213 |
|---|---|
| RGB | rgb(81, 18, 19) |
| HSL | hsl(359, 64%, 19%) |
| HSV | hsv(359, 78%, 32%) |
| CMYK | cmyk(0%, 77.8%, 76.5%, 68.2%) |
| CIE-LAB | lab(16.65, 29.15, 16.55) |
| CIE-LCH | lch(16.65, 33.52, 29.58°) |
| OKLab | oklab(29.27% 0.0851 0.0383) |
| OKLCH | oklch(29.27% 0.093 24.3) |
| XYZ | xyz(3.7276, 2.2295, 0.8500) |
| Luminance | 0.0223 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.16
Mahogany
#4A0100
ΔE00 3.27
Deep Brown
#410200
ΔE00 4.11
Rosewood
#65000B
ΔE00 5.43
Claret
#680018
ΔE00 5.74
Dark Maroon
#3C0008
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511213 #125150
analogous
#511233 #511213 #513112
triadic
#511213 #135112 #121351
tetradic
#511213 #335112 #125150 #311251
square
#511213 #335112 #125150 #311251
split-complementary
#511213 #125131 #123351
monochromatic
#190606 #1F0707 #511213 #831D1F #B5282A
Accessibility & contrast
On white
14.52
#511213 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#511213 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511213
14.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511213 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511213 | 1.00 | 14.52 | 1.45 | 14.52 |
| #FFFFFF | 14.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242112
Deuteranopia (green-blind)
#342E11
Tritanopia (blue-blind)
#5A0013
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #511213; /* rgb */ color: rgb(81, 18, 19); /* oklch */ color: oklch(29.3% 0.093 24.3);
Tailwind
colors: {
custom: {
50: '#885550',
500: '#511213',
950: '#000000',
},
}SCSS
$custom: #511213; $custom-light: #885550; $custom-dark: #000000;
JSON
{
"hex": "#511213",
"rgb": {
"r": 81,
"g": 18,
"b": 19
},
"hsl": {
"h": 359.048,
"s": 63.636,
"l": 19.412
},
"oklch": {
"l": 0.29271,
"c": 0.09334,
"h": 24.3
},
"luminance": 0.02229
}Semantic roles & 50–950 ramp
primary
#511213
secondary
#358A89
accent
#E7E441
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878