#400F09#400F09
#400F09 is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.3% C 0.077 H 30.2°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).
Color values
| HEX | #400F09 |
|---|---|
| RGB | rgb(64, 15, 9) |
| HSL | hsl(7, 75%, 14%) |
| HSV | hsv(7, 86%, 25%) |
| CMYK | cmyk(0%, 76.6%, 85.9%, 74.9%) |
| CIE-LAB | lab(12.30, 23.37, 15.26) |
| CIE-LCH | lch(12.30, 27.91, 33.14°) |
| OKLab | oklab(25.29% 0.0669 0.039) |
| OKLCH | oklch(25.29% 0.077 30.2) |
| XYZ | xyz(2.3347, 1.4517, 0.4157) |
| Luminance | 0.0145 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Deep Brown
#410200
ΔE00 3.09
Mahogany
#4A0100
ΔE00 4.13
Dried Blood
#4B0101
ΔE00 4.26
Dark Maroon
#3C0008
ΔE00 5.44
Chocolate Brown
#411900
ΔE00 7.01
Rosewood
#65000B
ΔE00 8.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#400F09 #093A40
analogous
#40091F #400F09 #402B09
triadic
#400F09 #09400F #0F0940
tetradic
#400F09 #1F4009 #093A40 #2B0940
square
#400F09 #1F4009 #093A40 #2B0940
split-complementary
#400F09 #09402B #091F40
monochromatic
#1B0604 #1B0604 #400F09 #761C11 #AB2818
Accessibility & contrast
On white
16.28
#400F09 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.29
#400F09 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #400F09
16.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##400F09 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##400F09 | 1.00 | 16.28 | 1.29 | 16.28 |
| #FFFFFF | 16.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D1908
Deuteranopia (green-blind)
#292407
Tritanopia (blue-blind)
#47030E
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #400f09; /* rgb */ color: rgb(64, 15, 9); /* oklch */ color: oklch(25.3% 0.077 30.2);
Tailwind
colors: {
custom: {
50: '#7a514a',
500: '#400f09',
950: '#000000',
},
}SCSS
$custom: #400f09; $custom-light: #7a514a; $custom-dark: #000000;
JSON
{
"hex": "#400f09",
"rgb": {
"r": 64,
"g": 15,
"b": 9
},
"hsl": {
"h": 6.545,
"s": 75.342,
"l": 14.314
},
"oklch": {
"l": 0.25289,
"c": 0.07738,
"h": 30.2
},
"luminance": 0.01451
}Semantic roles & 50–950 ramp
primary
#400F09
secondary
#27747E
accent
#DDF236
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877