#400C07#400C07
#400C07 is a very dark, moderate red. Relative luminance 0.014; OKLCH L 24.9% C 0.081 H 29.7°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).
Color values
| HEX | #400C07 |
|---|---|
| RGB | rgb(64, 12, 7) |
| HSL | hsl(5, 80%, 14%) |
| HSV | hsv(5, 89%, 25%) |
| CMYK | cmyk(0%, 81.2%, 89.1%, 74.9%) |
| CIE-LAB | lab(11.75, 24.69, 15.32) |
| CIE-LCH | lch(11.75, 29.06, 31.82°) |
| OKLab | oklab(24.87% 0.0704 0.0403) |
| OKLCH | oklch(24.87% 0.081 29.7) |
| XYZ | xyz(2.2844, 1.3686, 0.3449) |
| Luminance | 0.0137 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Deep Brown
#410200
ΔE00 2.29
Mahogany
#4A0100
ΔE00 3.57
Dried Blood
#4B0101
ΔE00 3.71
Dark Maroon
#3C0008
ΔE00 4.79
Chocolate Brown
#411900
ΔE00 7.69
Rosewood
#65000B
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#400C07 #073B40
analogous
#40071F #400C07 #402907
triadic
#400C07 #07400C #0C0740
tetradic
#400C07 #1F4007 #073B40 #290740
square
#400C07 #1F4007 #073B40 #290740
split-complementary
#400C07 #074029 #071F40
monochromatic
#1C0503 #1C0503 #400C07 #77160D #AE2113
Accessibility & contrast
On white
16.49
#400C07 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.27
#400C07 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #400C07
16.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##400C07 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##400C07 | 1.00 | 16.49 | 1.27 | 16.49 |
| #FFFFFF | 16.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B1806
Deuteranopia (green-blind)
#282305
Tritanopia (blue-blind)
#47000B
Achromatopsia (no color)
#1F1F1F
Design tokens & code
CSS
--color: #400c07; /* rgb */ color: rgb(64, 12, 7); /* oklch */ color: oklch(24.9% 0.081 29.7);
Tailwind
colors: {
custom: {
50: '#7a4f49',
500: '#400c07',
950: '#000000',
},
}SCSS
$custom: #400c07; $custom-light: #7a4f49; $custom-dark: #000000;
JSON
{
"hex": "#400c07",
"rgb": {
"r": 64,
"g": 12,
"b": 7
},
"hsl": {
"h": 5.263,
"s": 80.282,
"l": 13.922
},
"oklch": {
"l": 0.24867,
"c": 0.08112,
"h": 29.7
},
"luminance": 0.01368
}Semantic roles & 50–950 ramp
primary
#400C07
secondary
#24777F
accent
#E5F731
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877