#51111B#51111B
#51111B is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.3% C 0.094 H 16.5°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).
Color values
| HEX | #51111B |
|---|---|
| RGB | rgb(81, 17, 27) |
| HSL | hsl(351, 65%, 19%) |
| HSV | hsv(351, 79%, 32%) |
| CMYK | cmyk(0%, 79%, 66.7%, 68.2%) |
| CIE-LAB | lab(16.65, 30.12, 10.97) |
| CIE-LCH | lch(16.65, 32.05, 20.01°) |
| OKLab | oklab(29.32% 0.0901 0.0267) |
| OKLCH | oklch(29.32% 0.094 16.5) |
| XYZ | xyz(3.7920, 2.2299, 1.2674) |
| Luminance | 0.0223 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Maroon (survey)
#650021
ΔE00 5.07
Dark Maroon
#3C0008
ΔE00 5.07
Burgundy (survey)
#610023
ΔE00 5.15
Deep Brown
#410200
ΔE00 5.48
Dried Blood
#4B0101
ΔE00 5.69
Mahogany
#4A0100
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51111B #115147
analogous
#51113B #51111B #512711
triadic
#51111B #1B5111 #111B51
tetradic
#51111B #3B5111 #115147 #271151
square
#51111B #3B5111 #115147 #271151
split-complementary
#51111B #115127 #113B51
monochromatic
#190508 #1E060A #51111B #841C2C #B6263D
Accessibility & contrast
On white
14.52
#51111B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#51111B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51111B
14.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51111B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51111B | 1.00 | 14.52 | 1.45 | 14.52 |
| #FFFFFF | 14.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22211B
Deuteranopia (green-blind)
#332E19
Tritanopia (blue-blind)
#590115
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #51111b; /* rgb */ color: rgb(81, 17, 27); /* oklch */ color: oklch(29.3% 0.094 16.5);
Tailwind
colors: {
custom: {
50: '#875557',
500: '#51111b',
950: '#000000',
},
}SCSS
$custom: #51111b; $custom-light: #875557; $custom-dark: #000000;
JSON
{
"hex": "#51111b",
"rgb": {
"r": 81,
"g": 17,
"b": 27
},
"hsl": {
"h": 350.625,
"s": 65.306,
"l": 19.216
},
"oklch": {
"l": 0.29322,
"c": 0.09394,
"h": 16.5
},
"luminance": 0.02229
}Semantic roles & 50–950 ramp
primary
#51111B
secondary
#348A7D
accent
#E8CE40
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878