#511C27#511C27
#511C27 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.1% C 0.080 H 10.3°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).
Color values
| HEX | #511C27 |
|---|---|
| RGB | rgb(81, 28, 39) |
| HSL | hsl(348, 49%, 21%) |
| HSV | hsv(348, 65%, 32%) |
| CMYK | cmyk(0%, 65.4%, 51.9%, 68.2%) |
| CIE-LAB | lab(18.91, 25.92, 5.51) |
| CIE-LCH | lch(18.91, 26.50, 12.01°) |
| OKLab | oklab(31.11% 0.0786 0.0142) |
| OKLCH | oklch(31.11% 0.08 10.3) |
| XYZ | xyz(4.1751, 2.7268, 2.2255) |
| Luminance | 0.0273 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy (survey)
#610023
ΔE00 6.08
Maroon (survey)
#650021
ΔE00 6.71
Dark Maroon
#3C0008
ΔE00 7.37
Wine
#722F37
ΔE00 7.99
Purple Brown
#673A3F
ΔE00 8.61
Claret
#680018
ΔE00 8.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511C27 #1C5146
analogous
#511C42 #511C27 #512C1C
triadic
#511C27 #27511C #1C2751
tetradic
#511C27 #42511C #1C5146 #2C1C51
square
#511C27 #42511C #1C5146 #2C1C51
split-complementary
#511C27 #1C512C #1C4251
monochromatic
#17080B #240C11 #511C27 #7E2C3D #AC3B53
Accessibility & contrast
On white
13.59
#511C27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#511C27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511C27
13.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511C27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511C27 | 1.00 | 13.59 | 1.55 | 13.59 |
| #FFFFFF | 13.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#272727
Deuteranopia (green-blind)
#353226
Tritanopia (blue-blind)
#591520
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #511c27; /* rgb */ color: rgb(81, 28, 39); /* oklch */ color: oklch(31.1% 0.080 10.3);
Tailwind
colors: {
custom: {
50: '#855b60',
500: '#511c27',
950: '#000000',
},
}SCSS
$custom: #511c27; $custom-light: #855b60; $custom-dark: #000000;
JSON
{
"hex": "#511c27",
"rgb": {
"r": 81,
"g": 28,
"b": 39
},
"hsl": {
"h": 347.547,
"s": 48.624,
"l": 21.373
},
"oklch": {
"l": 0.31112,
"c": 0.0799,
"h": 10.3
},
"luminance": 0.02726
}Semantic roles & 50–950 ramp
primary
#511C27
secondary
#428778
accent
#D8BC50
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0405
muted
#7C7979