#511117#511117
#511117 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.2% C 0.094 H 20.2°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).
Color values
| HEX | #511117 |
|---|---|
| RGB | rgb(81, 17, 23) |
| HSL | hsl(354, 65%, 19%) |
| HSV | hsv(354, 79%, 32%) |
| CMYK | cmyk(0%, 79%, 71.6%, 68.2%) |
| CIE-LAB | lab(16.57, 29.83, 13.71) |
| CIE-LCH | lch(16.57, 32.83, 24.69°) |
| OKLab | oklab(29.23% 0.0882 0.0325) |
| OKLCH | oklch(29.23% 0.094 20.2) |
| XYZ | xyz(3.7488, 2.2126, 1.0401) |
| Luminance | 0.0221 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.16
Mahogany
#4A0100
ΔE00 4.28
Deep Brown
#410200
ΔE00 4.43
Dark Maroon
#3C0008
ΔE00 5.33
Claret
#680018
ΔE00 5.36
Maroon (survey)
#650021
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511117 #11514B
analogous
#511137 #511117 #512B11
triadic
#511117 #175111 #111751
tetradic
#511117 #375111 #11514B #2B1151
square
#511117 #375111 #11514B #2B1151
split-complementary
#511117 #11512B #113751
monochromatic
#190507 #1E0609 #511117 #841C25 #B62634
Accessibility & contrast
On white
14.56
#511117 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#511117 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511117
14.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511117 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511117 | 1.00 | 14.56 | 1.44 | 14.56 |
| #FFFFFF | 14.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232017
Deuteranopia (green-blind)
#332E15
Tritanopia (blue-blind)
#5A0014
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #511117; /* rgb */ color: rgb(81, 17, 23); /* oklch */ color: oklch(29.2% 0.094 20.2);
Tailwind
colors: {
custom: {
50: '#875553',
500: '#511117',
950: '#000000',
},
}SCSS
$custom: #511117; $custom-light: #875553; $custom-dark: #000000;
JSON
{
"hex": "#511117",
"rgb": {
"r": 81,
"g": 17,
"b": 23
},
"hsl": {
"h": 354.375,
"s": 65.306,
"l": 19.216
},
"oklch": {
"l": 0.29232,
"c": 0.09404,
"h": 20.2
},
"luminance": 0.02212
}Semantic roles & 50–950 ramp
primary
#511117
secondary
#348A82
accent
#E8D840
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878