#400406#400406
#400406 is a very dark, moderate red. Relative luminance 0.012; OKLCH L 23.9% C 0.090 H 25.6°. Best body text is #FFFFFF at 16.96:1 contrast (WCAG AA passes).
Color values
| HEX | #400406 |
|---|---|
| RGB | rgb(64, 4, 6) |
| HSL | hsl(358, 88%, 13%) |
| HSV | hsv(358, 94%, 25%) |
| CMYK | cmyk(0%, 93.8%, 90.6%, 74.9%) |
| CIE-LAB | lab(10.49, 28.14, 13.98) |
| CIE-LCH | lch(10.49, 31.42, 26.42°) |
| OKLab | oklab(23.92% 0.0809 0.0388) |
| OKLCH | oklch(23.92% 0.09 25.6) |
| XYZ | xyz(2.1909, 1.1903, 0.2867) |
| Luminance | 0.0119 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Deep Brown
#410200
ΔE00 1.33
Dark Maroon
#3C0008
ΔE00 2.59
Mahogany
#4A0100
ΔE00 3.43
Dried Blood
#4B0101
ΔE00 3.51
Claret
#680018
ΔE00 8.38
Rosewood
#65000B
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#400406 #04403E
analogous
#400424 #400406 #402004
triadic
#400406 #064004 #040640
tetradic
#400406 #244004 #04403E #200440
square
#400406 #244004 #04403E #200440
split-complementary
#400406 #044020 #042440
monochromatic
#1D0203 #1D0203 #400406 #7A080B #B30B11
Accessibility & contrast
On white
16.96
#400406 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.24
#400406 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #400406
16.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##400406 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##400406 | 1.00 | 16.96 | 1.24 | 16.96 |
| #FFFFFF | 16.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#171405
Deuteranopia (green-blind)
#262104
Tritanopia (blue-blind)
#480005
Achromatopsia (no color)
#1C1C1C
Design tokens & code
CSS
--color: #400406; /* rgb */ color: rgb(64, 4, 6); /* oklch */ color: oklch(23.9% 0.090 25.6);
Tailwind
colors: {
custom: {
50: '#7a4b49',
500: '#400406',
950: '#000000',
},
}SCSS
$custom: #400406; $custom-light: #7a4b49; $custom-dark: #000000;
JSON
{
"hex": "#400406",
"rgb": {
"r": 64,
"g": 4,
"b": 6
},
"hsl": {
"h": 358,
"s": 88.235,
"l": 13.333
},
"oklch": {
"l": 0.23924,
"c": 0.08975,
"h": 25.6
},
"luminance": 0.0119
}Semantic roles & 50–950 ramp
primary
#400406
secondary
#1F817E
accent
#FEF729
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0100
muted
#7C7777