#51121F#51121F
#51121F is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.5% C 0.093 H 13.1°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).
Color values
| HEX | #51121F |
|---|---|
| RGB | rgb(81, 18, 31) |
| HSL | hsl(348, 64%, 19%) |
| HSV | hsv(348, 78%, 32%) |
| CMYK | cmyk(0%, 77.8%, 61.7%, 68.2%) |
| CIE-LAB | lab(16.90, 30.02, 8.43) |
| CIE-LCH | lch(16.90, 31.18, 15.68°) |
| OKLab | oklab(29.54% 0.0905 0.021) |
| OKLCH | oklch(29.54% 0.093 13.1) |
| XYZ | xyz(3.8573, 2.2814, 1.5333) |
| Luminance | 0.0228 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.49
Maroon (survey)
#650021
ΔE00 4.91
Dark Maroon
#3C0008
ΔE00 5.47
Claret
#680018
ΔE00 6.77
Deep Brown
#410200
ΔE00 6.77
Dried Blood
#4B0101
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51121F #125144
analogous
#51123F #51121F #512512
triadic
#51121F #1F5112 #121F51
tetradic
#51121F #3F5112 #125144 #251251
square
#51121F #3F5112 #125144 #251251
split-complementary
#51121F #125125 #123F51
monochromatic
#19060A #1F070C #51121F #831D32 #B52845
Accessibility & contrast
On white
14.42
#51121F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#51121F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51121F
14.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51121F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51121F | 1.00 | 14.42 | 1.46 | 14.42 |
| #FFFFFF | 14.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22211F
Deuteranopia (green-blind)
#322E1D
Tritanopia (blue-blind)
#590417
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #51121f; /* rgb */ color: rgb(81, 18, 31); /* oklch */ color: oklch(29.5% 0.093 13.1);
Tailwind
colors: {
custom: {
50: '#86555a',
500: '#51121f',
950: '#000000',
},
}SCSS
$custom: #51121f; $custom-light: #86555a; $custom-dark: #000000;
JSON
{
"hex": "#51121f",
"rgb": {
"r": 81,
"g": 18,
"b": 31
},
"hsl": {
"h": 347.619,
"s": 63.636,
"l": 19.412
},
"oklch": {
"l": 0.29539,
"c": 0.09294,
"h": 13.1
},
"luminance": 0.02281
}Semantic roles & 50–950 ramp
primary
#51121F
secondary
#358A78
accent
#E7C541
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878