#3A040F#3A040F
#3A040F is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.7% C 0.083 H 15.3°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).
Color values
| HEX | #3A040F |
|---|---|
| RGB | rgb(58, 4, 15) |
| HSL | hsl(348, 87%, 12%) |
| HSV | hsv(348, 93%, 23%) |
| CMYK | cmyk(0%, 93.1%, 74.1%, 77.3%) |
| CIE-LAB | lab(9.17, 26.62, 7.94) |
| CIE-LCH | lch(9.17, 27.78, 16.60°) |
| OKLab | oklab(22.74% 0.0797 0.0218) |
| OKLCH | oklch(22.74% 0.083 15.3) |
| XYZ | xyz(1.8748, 1.0212, 0.5502) |
| Luminance | 0.0102 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 1.84
Deep Brown
#410200
ΔE00 5.22
Mahogany
#4A0100
ΔE00 7.25
Dried Blood
#4B0101
ΔE00 7.29
Burgundy (survey)
#610023
ΔE00 8.47
Maroon (survey)
#650021
ΔE00 9.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A040F #043A2F
analogous
#3A042A #3A040F #3A1404
triadic
#3A040F #0F3A04 #040F3A
tetradic
#3A040F #2A3A04 #043A2F #14043A
square
#3A040F #2A3A04 #043A2F #14043A
split-complementary
#3A040F #043A14 #042A3A
monochromatic
#1D0207 #1D0207 #3A040F #73081E #AD0C2D
Accessibility & contrast
On white
17.44
#3A040F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.20
#3A040F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A040F
17.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A040F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A040F | 1.00 | 17.44 | 1.20 | 17.44 |
| #FFFFFF | 17.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#13120F
Deuteranopia (green-blind)
#211E0D
Tritanopia (blue-blind)
#410008
Achromatopsia (no color)
#1A1A1A
Design tokens & code
CSS
--color: #3a040f; /* rgb */ color: rgb(58, 4, 15); /* oklch */ color: oklch(22.7% 0.083 15.3);
Tailwind
colors: {
custom: {
50: '#754a4d',
500: '#3a040f',
950: '#000000',
},
}SCSS
$custom: #3a040f; $custom-light: #754a4d; $custom-dark: #000000;
JSON
{
"hex": "#3a040f",
"rgb": {
"r": 58,
"g": 4,
"b": 15
},
"hsl": {
"h": 347.778,
"s": 87.097,
"l": 12.157
},
"oklch": {
"l": 0.22742,
"c": 0.08261,
"h": 15.3
},
"luminance": 0.01021
}Semantic roles & 50–950 ramp
primary
#3A040F
secondary
#1E7C69
accent
#FDD22B
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#090101
muted
#7B7777