#51121E#51121E
#51121E is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.5% C 0.093 H 14.1°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).
Color values
| HEX | #51121E |
|---|---|
| RGB | rgb(81, 18, 30) |
| HSL | hsl(349, 64%, 19%) |
| HSV | hsv(349, 78%, 32%) |
| CMYK | cmyk(0%, 77.8%, 63%, 68.2%) |
| CIE-LAB | lab(16.87, 29.93, 9.11) |
| CIE-LCH | lch(16.87, 31.29, 16.93°) |
| OKLab | oklab(29.51% 0.0901 0.0226) |
| OKLCH | oklch(29.51% 0.093 14.1) |
| XYZ | xyz(3.8444, 2.2762, 1.4650) |
| Luminance | 0.0228 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.65
Maroon (survey)
#650021
ΔE00 4.93
Dark Maroon
#3C0008
ΔE00 5.33
Deep Brown
#410200
ΔE00 6.41
Claret
#680018
ΔE00 6.49
Dried Blood
#4B0101
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51121E #125145
analogous
#51123E #51121E #512612
triadic
#51121E #1E5112 #121E51
tetradic
#51121E #3E5112 #125145 #261251
square
#51121E #3E5112 #125145 #261251
split-complementary
#51121E #125126 #123E51
monochromatic
#190609 #1F070B #51121E #831D31 #B52843
Accessibility & contrast
On white
14.43
#51121E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#51121E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51121E
14.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51121E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51121E | 1.00 | 14.43 | 1.46 | 14.43 |
| #FFFFFF | 14.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22211E
Deuteranopia (green-blind)
#322E1C
Tritanopia (blue-blind)
#590417
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #51121e; /* rgb */ color: rgb(81, 18, 30); /* oklch */ color: oklch(29.5% 0.093 14.1);
Tailwind
colors: {
custom: {
50: '#875559',
500: '#51121e',
950: '#000000',
},
}SCSS
$custom: #51121e; $custom-light: #875559; $custom-dark: #000000;
JSON
{
"hex": "#51121e",
"rgb": {
"r": 81,
"g": 18,
"b": 30
},
"hsl": {
"h": 348.571,
"s": 63.636,
"l": 19.412
},
"oklch": {
"l": 0.29512,
"c": 0.09286,
"h": 14.1
},
"luminance": 0.02276
}Semantic roles & 50–950 ramp
primary
#51121E
secondary
#358A7A
accent
#E7C741
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878