#2A040B#2A040B
#2A040B is a very dark, moderate red. Relative luminance 0.006; OKLCH L 19.0% C 0.064 H 13.7°. Best body text is #FFFFFF at 18.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2A040B |
|---|---|
| RGB | rgb(42, 4, 11) |
| HSL | hsl(349, 83%, 9%) |
| HSV | hsv(349, 90%, 16%) |
| CMYK | cmyk(0%, 90.5%, 73.8%, 83.5%) |
| CIE-LAB | lab(5.45, 19.21, 4.00) |
| CIE-LCH | lch(5.45, 19.62, 11.76°) |
| OKLab | oklab(19.02% 0.0621 0.0152) |
| OKLCH | oklch(19.02% 0.064 13.7) |
| XYZ | xyz(1.0588, 0.6034, 0.3773) |
| Luminance | 0.0060 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 6.33
Very Dark Brown
#1D0200
ΔE00 7.24
Deep Brown
#410200
ΔE00 8.86
Mahogany
#4A0100
ΔE00 11.13
Dark Plum
#3F012C
ΔE00 11.17
Dried Blood
#4B0101
ΔE00 11.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A040B #042A23
analogous
#2A041E #2A040B #2A1004
triadic
#2A040B #0B2A04 #040B2A
tetradic
#2A040B #1E2A04 #042A23 #10042A
square
#2A040B #1E2A04 #042A23 #10042A
split-complementary
#2A040B #042A10 #041E2A
monochromatic
#1C0307 #1C0307 #2A040B #62091A #9A0F28
Accessibility & contrast
On white
18.74
#2A040B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.12
#2A040B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A040B
18.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A040B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A040B | 1.00 | 18.74 | 1.12 | 18.74 |
| #FFFFFF | 18.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D0D0B
Deuteranopia (green-blind)
#17150A
Tritanopia (blue-blind)
#2F0006
Achromatopsia (no color)
#121212
Design tokens & code
CSS
--color: #2a040b; /* rgb */ color: rgb(42, 4, 11); /* oklch */ color: oklch(19.0% 0.064 13.7);
Tailwind
colors: {
custom: {
50: '#66484c',
500: '#2a040b',
950: '#000000',
},
}SCSS
$custom: #2a040b; $custom-light: #66484c; $custom-dark: #000000;
JSON
{
"hex": "#2a040b",
"rgb": {
"r": 42,
"g": 4,
"b": 11
},
"hsl": {
"h": 348.947,
"s": 82.609,
"l": 9.02
},
"oklch": {
"l": 0.19016,
"c": 0.06394,
"h": 13.7
},
"luminance": 0.00603
}Semantic roles & 50–950 ramp
primary
#2A040B
secondary
#1D6D5E
accent
#F9D42F
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777