#5E1812#5E1812
#5E1812 is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.5% C 0.103 H 28.9°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).
Color values
| HEX | #5E1812 |
|---|---|
| RGB | rgb(94, 24, 18) |
| HSL | hsl(5, 68%, 22%) |
| HSV | hsv(5, 81%, 37%) |
| CMYK | cmyk(0%, 74.5%, 80.9%, 63.1%) |
| CIE-LAB | lab(20.35, 31.31, 22.21) |
| CIE-LCH | lch(20.35, 38.39, 35.35°) |
| OKLab | oklab(32.54% 0.0899 0.0495) |
| OKLCH | oklch(32.54% 0.103 28.9) |
| XYZ | xyz(5.0525, 3.0774, 0.9001) |
| Luminance | 0.0308 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 3.87
Reddy Brown
#6E1005
ΔE00 4.75
Dried Blood
#4B0101
ΔE00 5.49
Mahogany
#4A0100
ΔE00 5.61
Claret
#680018
ΔE00 6.22
Blood
#770001
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E1812 #12585E
analogous
#5E1232 #5E1812 #5E3E12
triadic
#5E1812 #125E18 #18125E
tetradic
#5E1812 #325E12 #12585E #3E125E
square
#5E1812 #325E12 #12585E #3E125E
split-complementary
#5E1812 #125E3E #12325E
monochromatic
#1A0705 #2B0B08 #5E1812 #91251C #C53226
Accessibility & contrast
On white
13.00
#5E1812 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#5E1812 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E1812
13.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E1812 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E1812 | 1.00 | 13.00 | 1.62 | 13.00 |
| #FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C2711
Deuteranopia (green-blind)
#3E370F
Tritanopia (blue-blind)
#680217
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5e1812; /* rgb */ color: rgb(94, 24, 18); /* oklch */ color: oklch(32.5% 0.103 28.9);
Tailwind
colors: {
custom: {
50: '#925a50',
500: '#5e1812',
950: '#000000',
},
}SCSS
$custom: #5e1812; $custom-light: #925a50; $custom-dark: #000000;
JSON
{
"hex": "#5e1812",
"rgb": {
"r": 94,
"g": 24,
"b": 18
},
"hsl": {
"h": 4.737,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.32538,
"c": 0.10262,
"h": 28.9
},
"luminance": 0.03077
}Semantic roles & 50–950 ramp
primary
#5E1812
secondary
#358F96
accent
#DDEB3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978