#511518#511518
#511518 is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.7% C 0.089 H 21.7°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).
Color values
| HEX | #511518 |
|---|---|
| RGB | rgb(81, 21, 24) |
| HSL | hsl(357, 59%, 20%) |
| HSV | hsv(357, 74%, 32%) |
| CMYK | cmyk(0%, 74.1%, 70.4%, 68.2%) |
| CIE-LAB | lab(17.24, 28.11, 13.85) |
| CIE-LCH | lch(17.24, 31.34, 26.24°) |
| OKLab | oklab(29.74% 0.083 0.033) |
| OKLCH | oklch(29.74% 0.089 21.7) |
| XYZ | xyz(3.8268, 2.3522, 1.1165) |
| Luminance | 0.0235 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.42
Mahogany
#4A0100
ΔE00 4.52
Deep Brown
#410200
ΔE00 4.71
Claret
#680018
ΔE00 5.83
Dark Maroon
#3C0008
ΔE00 5.90
Rosewood
#65000B
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511518 #15514E
analogous
#511536 #511518 #513015
triadic
#511518 #185115 #151851
tetradic
#511518 #365115 #15514E #301551
square
#511518 #365115 #15514E #301551
split-complementary
#511518 #155130 #153651
monochromatic
#180607 #20080A #511518 #822226 #B22E35
Accessibility & contrast
On white
14.28
#511518 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#511518 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511518
14.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511518 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511518 | 1.00 | 14.28 | 1.47 | 14.28 |
| #FFFFFF | 14.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#252218
Deuteranopia (green-blind)
#342F16
Tritanopia (blue-blind)
#5A0617
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #511518; /* rgb */ color: rgb(81, 21, 24); /* oklch */ color: oklch(29.7% 0.089 21.7);
Tailwind
colors: {
custom: {
50: '#875754',
500: '#511518',
950: '#000000',
},
}SCSS
$custom: #511518; $custom-light: #875754; $custom-dark: #000000;
JSON
{
"hex": "#511518",
"rgb": {
"r": 81,
"g": 21,
"b": 24
},
"hsl": {
"h": 357,
"s": 58.824,
"l": 20
},
"oklch": {
"l": 0.29739,
"c": 0.08932,
"h": 21.7
},
"luminance": 0.02352
}Semantic roles & 50–950 ramp
primary
#511518
secondary
#398985
accent
#E2DA46
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878