#400403#400403
#400403 is a very dark, moderate red. Relative luminance 0.012; OKLCH L 23.9% C 0.090 H 28.5°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).
Color values
| HEX | #400403 |
|---|---|
| RGB | rgb(64, 4, 3) |
| HSL | hsl(1, 91%, 13%) |
| HSV | hsv(1, 95%, 25%) |
| CMYK | cmyk(0%, 93.8%, 95.3%, 74.9%) |
| CIE-LAB | lab(10.44, 27.99, 15.13) |
| CIE-LCH | lch(10.44, 31.82, 28.40°) |
| OKLab | oklab(23.87% 0.0794 0.0431) |
| OKLCH | oklch(23.87% 0.09 28.5) |
| XYZ | xyz(2.1745, 1.1838, 0.2001) |
| Luminance | 0.0118 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Deep Brown
#410200
ΔE00 0.68
Mahogany
#4A0100
ΔE00 2.91
Dried Blood
#4B0101
ΔE00 3.04
Dark Maroon
#3C0008
ΔE00 3.32
Rosewood
#65000B
ΔE00 8.25
Claret
#680018
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#400403 #033F40
analogous
#400320 #400403 #402203
triadic
#400403 #034004 #040340
tetradic
#400403 #204003 #033F40 #220340
square
#400403 #204003 #033F40 #220340
split-complementary
#400403 #034022 #032040
monochromatic
#1D0201 #1D0201 #400403 #7A0806 #B50B08
Accessibility & contrast
On white
16.98
#400403 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.24
#400403 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #400403
16.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##400403 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##400403 | 1.00 | 16.98 | 1.24 | 16.98 |
| #FFFFFF | 16.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#181402
Deuteranopia (green-blind)
#262101
Tritanopia (blue-blind)
#480004
Achromatopsia (no color)
#1C1C1C
Design tokens & code
CSS
--color: #400403; /* rgb */ color: rgb(64, 4, 3); /* oklch */ color: oklch(23.9% 0.090 28.5);
Tailwind
colors: {
custom: {
50: '#7b4b48',
500: '#400403',
950: '#000000',
},
}SCSS
$custom: #400403; $custom-light: #7b4b48; $custom-dark: #000000;
JSON
{
"hex": "#400403",
"rgb": {
"r": 64,
"g": 4,
"b": 3
},
"hsl": {
"h": 0.984,
"s": 91.045,
"l": 13.137
},
"oklch": {
"l": 0.23872,
"c": 0.09034,
"h": 28.5
},
"luminance": 0.01183
}Semantic roles & 50–950 ramp
primary
#400403
secondary
#1D8082
accent
#FBFF29
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0100
muted
#7C7777