#511418#511418
#511418 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.6% C 0.091 H 21.0°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).
Color values
| HEX | #511418 |
|---|---|
| RGB | rgb(81, 20, 24) |
| HSL | hsl(356, 60%, 20%) |
| HSV | hsv(356, 75%, 32%) |
| CMYK | cmyk(0%, 75.3%, 70.4%, 68.2%) |
| CIE-LAB | lab(17.07, 28.58, 13.64) |
| CIE-LCH | lch(17.07, 31.66, 25.51°) |
| OKLab | oklab(29.61% 0.0845 0.0325) |
| OKLCH | oklch(29.61% 0.091 21) |
| XYZ | xyz(3.8088, 2.3161, 1.1105) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.41
Mahogany
#4A0100
ΔE00 4.52
Deep Brown
#410200
ΔE00 4.66
Claret
#680018
ΔE00 5.70
Dark Maroon
#3C0008
ΔE00 5.70
Maroon (survey)
#650021
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511418 #14514D
analogous
#511436 #511418 #512F14
triadic
#511418 #185114 #141851
tetradic
#511418 #365114 #14514D #2F1451
square
#511418 #365114 #14514D #2F1451
split-complementary
#511418 #14512F #143651
monochromatic
#190607 #200809 #511418 #822027 #B32C35
Accessibility & contrast
On white
14.35
#511418 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#511418 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511418
14.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511418 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511418 | 1.00 | 14.35 | 1.46 | 14.35 |
| #FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242218
Deuteranopia (green-blind)
#342F16
Tritanopia (blue-blind)
#5A0516
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #511418; /* rgb */ color: rgb(81, 20, 24); /* oklch */ color: oklch(29.6% 0.091 21.0);
Tailwind
colors: {
custom: {
50: '#875654',
500: '#511418',
950: '#000000',
},
}SCSS
$custom: #511418; $custom-light: #875654; $custom-dark: #000000;
JSON
{
"hex": "#511418",
"rgb": {
"r": 81,
"g": 20,
"b": 24
},
"hsl": {
"h": 356.066,
"s": 60.396,
"l": 19.804
},
"oklch": {
"l": 0.29611,
"c": 0.09052,
"h": 21
},
"luminance": 0.02316
}Semantic roles & 50–950 ramp
primary
#511418
secondary
#388984
accent
#E4D944
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878