#511B28#511B28
#511B28 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.0% C 0.082 H 8.4°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).
Color values
| HEX | #511B28 |
|---|---|
| RGB | rgb(81, 27, 40) |
| HSL | hsl(346, 50%, 21%) |
| HSV | hsv(346, 67%, 32%) |
| CMYK | cmyk(0%, 66.7%, 50.6%, 68.2%) |
| CIE-LAB | lab(18.74, 26.57, 4.57) |
| CIE-LCH | lch(18.74, 26.96, 9.75°) |
| OKLab | oklab(30.99% 0.0808 0.0119) |
| OKLCH | oklch(30.99% 0.082 8.4) |
| XYZ | xyz(4.1686, 2.6869, 2.3062) |
| Luminance | 0.0269 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy (survey)
#610023
ΔE00 5.91
Maroon (survey)
#650021
ΔE00 6.72
Dark Maroon
#3C0008
ΔE00 7.54
Wine
#722F37
ΔE00 8.25
Purple Brown
#673A3F
ΔE00 8.89
Merlot
#730039
ΔE00 8.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511B28 #1B5144
analogous
#511B43 #511B28 #51291B
triadic
#511B28 #28511B #1B2851
tetradic
#511B28 #43511B #1B5144 #291B51
square
#511B28 #43511B #1B5144 #291B51
split-complementary
#511B28 #1B5129 #1B4351
monochromatic
#17080B #230C11 #511B28 #7F2A3F #AD3A55
Accessibility & contrast
On white
13.66
#511B28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#511B28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511B28
13.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511B28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511B28 | 1.00 | 13.66 | 1.54 | 13.66 |
| #FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#262728
Deuteranopia (green-blind)
#343227
Tritanopia (blue-blind)
#581420
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #511b28; /* rgb */ color: rgb(81, 27, 40); /* oklch */ color: oklch(31.0% 0.082 8.4);
Tailwind
colors: {
custom: {
50: '#855a61',
500: '#511b28',
950: '#000000',
},
}SCSS
$custom: #511b28; $custom-light: #855a61; $custom-dark: #000000;
JSON
{
"hex": "#511b28",
"rgb": {
"r": 81,
"g": 27,
"b": 40
},
"hsl": {
"h": 345.556,
"s": 50,
"l": 21.176
},
"oklch": {
"l": 0.30993,
"c": 0.08162,
"h": 8.4
},
"luminance": 0.02686
}Semantic roles & 50–950 ramp
primary
#511B28
secondary
#418776
accent
#DAB84E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0405
muted
#7C7979