#51131E#51131E
#51131E is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.6% C 0.092 H 14.6°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).
Color values
| HEX | #51131E |
|---|---|
| RGB | rgb(81, 19, 30) |
| HSL | hsl(349, 62%, 20%) |
| HSV | hsv(349, 77%, 32%) |
| CMYK | cmyk(0%, 76.5%, 63%, 68.2%) |
| CIE-LAB | lab(17.03, 29.49, 9.33) |
| CIE-LCH | lch(17.03, 30.93, 17.55°) |
| OKLab | oklab(29.63% 0.0887 0.0231) |
| OKLCH | oklch(29.63% 0.092 14.6) |
| XYZ | xyz(3.8609, 2.3093, 1.4705) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.86
Maroon (survey)
#650021
ΔE00 5.07
Dark Maroon
#3C0008
ΔE00 5.39
Deep Brown
#410200
ΔE00 6.32
Claret
#680018
ΔE00 6.47
Dried Blood
#4B0101
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51131E #135146
analogous
#51133D #51131E #512713
triadic
#51131E #1E5113 #131E51
tetradic
#51131E #3D5113 #135146 #271351
square
#51131E #3D5113 #135146 #271351
split-complementary
#51131E #135127 #133D51
monochromatic
#190609 #1F070C #51131E #831F30 #B42A43
Accessibility & contrast
On white
14.37
#51131E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#51131E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51131E
14.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51131E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51131E | 1.00 | 14.37 | 1.46 | 14.37 |
| #FFFFFF | 14.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23221E
Deuteranopia (green-blind)
#332F1C
Tritanopia (blue-blind)
#590517
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #51131e; /* rgb */ color: rgb(81, 19, 30); /* oklch */ color: oklch(29.6% 0.092 14.6);
Tailwind
colors: {
custom: {
50: '#865659',
500: '#51131e',
950: '#000000',
},
}SCSS
$custom: #51131e; $custom-light: #865659; $custom-dark: #000000;
JSON
{
"hex": "#51131e",
"rgb": {
"r": 81,
"g": 19,
"b": 30
},
"hsl": {
"h": 349.355,
"s": 62,
"l": 19.608
},
"oklch": {
"l": 0.2963,
"c": 0.09163,
"h": 14.6
},
"luminance": 0.02309
}Semantic roles & 50–950 ramp
primary
#51131E
secondary
#368A7B
accent
#E5C843
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878