#51121B#51121B
#51121B is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.4% C 0.093 H 17.0°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).
Color values
| HEX | #51121B |
|---|---|
| RGB | rgb(81, 18, 27) |
| HSL | hsl(351, 64%, 19%) |
| HSV | hsv(351, 78%, 32%) |
| CMYK | cmyk(0%, 77.8%, 66.7%, 68.2%) |
| CIE-LAB | lab(16.80, 29.69, 11.17) |
| CIE-LCH | lch(16.80, 31.72, 20.62°) |
| OKLab | oklab(29.44% 0.0887 0.0272) |
| OKLCH | oklch(29.44% 0.093 17) |
| XYZ | xyz(3.8079, 2.2616, 1.2727) |
| Luminance | 0.0226 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 5.16
Maroon (survey)
#650021
ΔE00 5.24
Burgundy (survey)
#610023
ΔE00 5.38
Deep Brown
#410200
ΔE00 5.42
Dried Blood
#4B0101
ΔE00 5.59
Mahogany
#4A0100
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51121B #125148
analogous
#51123B #51121B #512912
triadic
#51121B #1B5112 #121B51
tetradic
#51121B #3B5112 #125148 #291251
square
#51121B #3B5112 #125148 #291251
split-complementary
#51121B #125129 #123B51
monochromatic
#190608 #1F070A #51121B #831D2C #B5283C
Accessibility & contrast
On white
14.46
#51121B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#51121B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51121B
14.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51121B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51121B | 1.00 | 14.46 | 1.45 | 14.46 |
| #FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23211B
Deuteranopia (green-blind)
#332E19
Tritanopia (blue-blind)
#590316
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #51121b; /* rgb */ color: rgb(81, 18, 27); /* oklch */ color: oklch(29.4% 0.093 17.0);
Tailwind
colors: {
custom: {
50: '#875557',
500: '#51121b',
950: '#000000',
},
}SCSS
$custom: #51121b; $custom-light: #875557; $custom-dark: #000000;
JSON
{
"hex": "#51121b",
"rgb": {
"r": 81,
"g": 18,
"b": 27
},
"hsl": {
"h": 351.429,
"s": 63.636,
"l": 19.412
},
"oklch": {
"l": 0.29437,
"c": 0.09276,
"h": 17
},
"luminance": 0.02261
}Semantic roles & 50–950 ramp
primary
#51121B
secondary
#358A7E
accent
#E7CF41
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878