#511517#511517
#511517 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.7% C 0.089 H 22.6°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).
Color values
| HEX | #511517 |
|---|---|
| RGB | rgb(81, 21, 23) |
| HSL | hsl(358, 59%, 20%) |
| HSV | hsv(358, 74%, 32%) |
| CMYK | cmyk(0%, 74.1%, 71.6%, 68.2%) |
| CIE-LAB | lab(17.22, 28.04, 14.53) |
| CIE-LCH | lch(17.22, 31.58, 27.39°) |
| OKLab | oklab(29.72% 0.0826 0.0344) |
| OKLCH | oklch(29.72% 0.089 22.6) |
| XYZ | xyz(3.8166, 2.3481, 1.0627) |
| Luminance | 0.0235 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.16
Mahogany
#4A0100
ΔE00 4.26
Deep Brown
#410200
ΔE00 4.59
Claret
#680018
ΔE00 5.87
Dark Maroon
#3C0008
ΔE00 6.08
Rosewood
#65000B
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511517 #15514F
analogous
#511535 #511517 #513115
triadic
#511517 #175115 #151751
tetradic
#511517 #355115 #15514F #311551
square
#511517 #355115 #15514F #311551
split-complementary
#511517 #155131 #153551
monochromatic
#180607 #200809 #511517 #822225 #B22E33
Accessibility & contrast
On white
14.29
#511517 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#511517 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511517
14.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511517 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511517 | 1.00 | 14.29 | 1.47 | 14.29 |
| #FFFFFF | 14.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#252217
Deuteranopia (green-blind)
#342F15
Tritanopia (blue-blind)
#5A0616
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #511517; /* rgb */ color: rgb(81, 21, 23); /* oklch */ color: oklch(29.7% 0.089 22.6);
Tailwind
colors: {
custom: {
50: '#875753',
500: '#511517',
950: '#000000',
},
}SCSS
$custom: #511517; $custom-light: #875753; $custom-dark: #000000;
JSON
{
"hex": "#511517",
"rgb": {
"r": 81,
"g": 21,
"b": 23
},
"hsl": {
"h": 358,
"s": 58.824,
"l": 20
},
"oklch": {
"l": 0.29718,
"c": 0.08943,
"h": 22.6
},
"luminance": 0.02348
}Semantic roles & 50–950 ramp
primary
#511517
secondary
#398986
accent
#E2DD46
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878