#511218#511218
#511218 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.4% C 0.093 H 19.9°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).
Color values
| HEX | #511218 |
|---|---|
| RGB | rgb(81, 18, 24) |
| HSL | hsl(354, 64%, 19%) |
| HSV | hsv(354, 78%, 32%) |
| CMYK | cmyk(0%, 77.8%, 70.4%, 68.2%) |
| CIE-LAB | lab(16.74, 29.47, 13.22) |
| CIE-LCH | lch(16.74, 32.30, 24.17°) |
| OKLab | oklab(29.37% 0.0873 0.0316) |
| OKLCH | oklch(29.37% 0.093 19.9) |
| XYZ | xyz(3.7749, 2.2484, 1.0992) |
| Luminance | 0.0225 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.46
Mahogany
#4A0100
ΔE00 4.58
Deep Brown
#410200
ΔE00 4.63
Dark Maroon
#3C0008
ΔE00 5.35
Claret
#680018
ΔE00 5.49
Maroon (survey)
#650021
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511218 #12514B
analogous
#511238 #511218 #512C12
triadic
#511218 #185112 #121851
tetradic
#511218 #385112 #12514B #2C1251
square
#511218 #385112 #12514B #2C1251
split-complementary
#511218 #12512C #123851
monochromatic
#190607 #1F0709 #511218 #831D27 #B52836
Accessibility & contrast
On white
14.49
#511218 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#511218 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511218
14.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511218 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511218 | 1.00 | 14.49 | 1.45 | 14.49 |
| #FFFFFF | 14.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232118
Deuteranopia (green-blind)
#332E16
Tritanopia (blue-blind)
#5A0215
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #511218; /* rgb */ color: rgb(81, 18, 24); /* oklch */ color: oklch(29.4% 0.093 19.9);
Tailwind
colors: {
custom: {
50: '#875554',
500: '#511218',
950: '#000000',
},
}SCSS
$custom: #511218; $custom-light: #875554; $custom-dark: #000000;
JSON
{
"hex": "#511218",
"rgb": {
"r": 81,
"g": 18,
"b": 24
},
"hsl": {
"h": 354.286,
"s": 63.636,
"l": 19.412
},
"oklch": {
"l": 0.29369,
"c": 0.09285,
"h": 19.9
},
"luminance": 0.02248
}Semantic roles & 50–950 ramp
primary
#511218
secondary
#358A82
accent
#E7D741
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878