#51121C#51121C
#51121C is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.5% C 0.093 H 16.1°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).
Color values
| HEX | #51121C |
|---|---|
| RGB | rgb(81, 18, 28) |
| HSL | hsl(350, 64%, 19%) |
| HSV | hsv(350, 78%, 32%) |
| CMYK | cmyk(0%, 77.8%, 65.4%, 68.2%) |
| CIE-LAB | lab(16.83, 29.77, 10.48) |
| CIE-LCH | lch(16.83, 31.56, 19.40°) |
| OKLab | oklab(29.46% 0.0891 0.0257) |
| OKLCH | oklch(29.46% 0.093 16.1) |
| XYZ | xyz(3.8196, 2.2663, 1.3347) |
| Luminance | 0.0227 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Maroon (survey)
#650021
ΔE00 5.09
Burgundy (survey)
#610023
ΔE00 5.10
Dark Maroon
#3C0008
ΔE00 5.18
Deep Brown
#410200
ΔE00 5.73
Dried Blood
#4B0101
ΔE00 6.00
Claret
#680018
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51121C #125147
analogous
#51123C #51121C #512812
triadic
#51121C #1C5112 #121C51
tetradic
#51121C #3C5112 #125147 #281251
square
#51121C #3C5112 #125147 #281251
split-complementary
#51121C #125128 #123C51
monochromatic
#190609 #1F070B #51121C #831D2D #B5283F
Accessibility & contrast
On white
14.45
#51121C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#51121C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51121C
14.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51121C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51121C | 1.00 | 14.45 | 1.45 | 14.45 |
| #FFFFFF | 14.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23211C
Deuteranopia (green-blind)
#332E1A
Tritanopia (blue-blind)
#590316
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #51121c; /* rgb */ color: rgb(81, 18, 28); /* oklch */ color: oklch(29.5% 0.093 16.1);
Tailwind
colors: {
custom: {
50: '#875557',
500: '#51121c',
950: '#000000',
},
}SCSS
$custom: #51121c; $custom-light: #875557; $custom-dark: #000000;
JSON
{
"hex": "#51121c",
"rgb": {
"r": 81,
"g": 18,
"b": 28
},
"hsl": {
"h": 350.476,
"s": 63.636,
"l": 19.412
},
"oklch": {
"l": 0.29461,
"c": 0.09277,
"h": 16.1
},
"luminance": 0.02266
}Semantic roles & 50–950 ramp
primary
#51121C
secondary
#358A7C
accent
#E7CC41
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878