#3A040B#3A040B
#3A040B is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.7% C 0.083 H 19.7°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).
Color values
| HEX | #3A040B |
|---|---|
| RGB | rgb(58, 4, 11) |
| HSL | hsl(352, 87%, 12%) |
| HSV | hsv(352, 93%, 23%) |
| CMYK | cmyk(0%, 93.1%, 81%, 77.3%) |
| CIE-LAB | lab(9.08, 26.37, 9.73) |
| CIE-LCH | lch(9.08, 28.10, 20.26°) |
| OKLab | oklab(22.65% 0.0778 0.0279) |
| OKLCH | oklch(22.65% 0.083 19.7) |
| XYZ | xyz(1.8490, 1.0108, 0.4143) |
| Luminance | 0.0101 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 1.21
Deep Brown
#410200
ΔE00 4.05
Mahogany
#4A0100
ΔE00 6.18
Dried Blood
#4B0101
ΔE00 6.25
Burgundy (survey)
#610023
ΔE00 8.85
Maroon (survey)
#650021
ΔE00 9.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A040B #043A33
analogous
#3A0426 #3A040B #3A1804
triadic
#3A040B #0B3A04 #040B3A
tetradic
#3A040B #263A04 #043A33 #18043A
square
#3A040B #263A04 #043A33 #18043A
split-complementary
#3A040B #043A18 #04263A
monochromatic
#1D0205 #1D0205 #3A040B #730816 #AD0C21
Accessibility & contrast
On white
17.47
#3A040B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.20
#3A040B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A040B
17.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A040B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A040B | 1.00 | 17.47 | 1.20 | 17.47 |
| #FFFFFF | 17.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#14120B
Deuteranopia (green-blind)
#221E09
Tritanopia (blue-blind)
#410007
Achromatopsia (no color)
#1A1A1A
Design tokens & code
CSS
--color: #3a040b; /* rgb */ color: rgb(58, 4, 11); /* oklch */ color: oklch(22.7% 0.083 19.7);
Tailwind
colors: {
custom: {
50: '#754a4b',
500: '#3a040b',
950: '#000000',
},
}SCSS
$custom: #3a040b; $custom-light: #754a4b; $custom-dark: #000000;
JSON
{
"hex": "#3a040b",
"rgb": {
"r": 58,
"g": 4,
"b": 11
},
"hsl": {
"h": 352.222,
"s": 87.097,
"l": 12.157
},
"oklch": {
"l": 0.22652,
"c": 0.08261,
"h": 19.7
},
"luminance": 0.01011
}Semantic roles & 50–950 ramp
primary
#3A040B
secondary
#1E7C70
accent
#FDE22B
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#090101
muted
#7B7777