#400F08#400F08
#400F08 is a dark, moderate red. Relative luminance 0.014; OKLCH L 25.3% C 0.078 H 31.2°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).
Color values
| HEX | #400F08 |
|---|---|
| RGB | rgb(64, 15, 8) |
| HSL | hsl(8, 78%, 14%) |
| HSV | hsv(8, 88%, 25%) |
| CMYK | cmyk(0%, 76.6%, 87.5%, 74.9%) |
| CIE-LAB | lab(12.28, 23.32, 15.65) |
| CIE-LCH | lch(12.28, 28.08, 33.86°) |
| OKLab | oklab(25.27% 0.0664 0.0402) |
| OKLCH | oklch(25.27% 0.078 31.2) |
| XYZ | xyz(2.3293, 1.4495, 0.3868) |
| Luminance | 0.0145 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Deep Brown
#410200
ΔE00 3.19
Mahogany
#4A0100
ΔE00 4.13
Dried Blood
#4B0101
ΔE00 4.27
Dark Maroon
#3C0008
ΔE00 5.67
Chocolate Brown
#411900
ΔE00 6.77
Rosewood
#65000B
ΔE00 8.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#400F08 #083940
analogous
#40081D #400F08 #402B08
triadic
#400F08 #08400F #0F0840
tetradic
#400F08 #1D4008 #083940 #2B0840
square
#400F08 #1D4008 #083940 #2B0840
split-complementary
#400F08 #08402B #081D40
monochromatic
#1B0603 #1B0603 #400F08 #761C0F #AD2916
Accessibility & contrast
On white
16.28
#400F08 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.29
#400F08 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #400F08
16.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##400F08 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##400F08 | 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)
#1D1907
Deuteranopia (green-blind)
#292406
Tritanopia (blue-blind)
#47030E
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #400f08; /* rgb */ color: rgb(64, 15, 8); /* oklch */ color: oklch(25.3% 0.078 31.2);
Tailwind
colors: {
custom: {
50: '#7a514a',
500: '#400f08',
950: '#000000',
},
}SCSS
$custom: #400f08; $custom-light: #7a514a; $custom-dark: #000000;
JSON
{
"hex": "#400f08",
"rgb": {
"r": 64,
"g": 15,
"b": 8
},
"hsl": {
"h": 7.5,
"s": 77.778,
"l": 14.118
},
"oklch": {
"l": 0.25273,
"c": 0.07763,
"h": 31.2
},
"luminance": 0.01449
}Semantic roles & 50–950 ramp
primary
#400F08
secondary
#25737E
accent
#DCF434
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877