#3A040C#3A040C
#3A040C is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.7% C 0.083 H 18.7°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).
Color values
| HEX | #3A040C |
|---|---|
| RGB | rgb(58, 4, 12) |
| HSL | hsl(351, 87%, 12%) |
| HSV | hsv(351, 93%, 23%) |
| CMYK | cmyk(0%, 93.1%, 79.3%, 77.3%) |
| CIE-LAB | lab(9.10, 26.42, 9.32) |
| CIE-LCH | lch(9.10, 28.02, 19.42°) |
| OKLab | oklab(22.67% 0.0782 0.0264) |
| OKLCH | oklch(22.67% 0.083 18.7) |
| XYZ | xyz(1.8549, 1.0132, 0.4457) |
| Luminance | 0.0101 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 1.27
Deep Brown
#410200
ΔE00 4.31
Mahogany
#4A0100
ΔE00 6.42
Dried Blood
#4B0101
ΔE00 6.48
Burgundy (survey)
#610023
ΔE00 8.75
Maroon (survey)
#650021
ΔE00 9.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A040C #043A32
analogous
#3A0427 #3A040C #3A1704
triadic
#3A040C #0C3A04 #040C3A
tetradic
#3A040C #273A04 #043A32 #17043A
square
#3A040C #273A04 #043A32 #17043A
split-complementary
#3A040C #043A17 #04273A
monochromatic
#1D0206 #1D0206 #3A040C #730818 #AD0C24
Accessibility & contrast
On white
17.46
#3A040C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.20
#3A040C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A040C
17.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A040C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A040C | 1.00 | 17.46 | 1.20 | 17.46 |
| #FFFFFF | 17.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#14120C
Deuteranopia (green-blind)
#221E0A
Tritanopia (blue-blind)
#410007
Achromatopsia (no color)
#1A1A1A
Design tokens & code
CSS
--color: #3a040c; /* rgb */ color: rgb(58, 4, 12); /* oklch */ color: oklch(22.7% 0.083 18.7);
Tailwind
colors: {
custom: {
50: '#754a4c',
500: '#3a040c',
950: '#000000',
},
}SCSS
$custom: #3a040c; $custom-light: #754a4c; $custom-dark: #000000;
JSON
{
"hex": "#3a040c",
"rgb": {
"r": 58,
"g": 4,
"b": 12
},
"hsl": {
"h": 351.111,
"s": 87.097,
"l": 12.157
},
"oklch": {
"l": 0.22673,
"c": 0.08258,
"h": 18.7
},
"luminance": 0.01013
}Semantic roles & 50–950 ramp
primary
#3A040C
secondary
#1E7C6E
accent
#FDDE2B
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#090101
muted
#7B7777