#400F0F#400F0F
#400F0F is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.4% C 0.076 H 24.3°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).
Color values
| HEX | #400F0F |
|---|---|
| RGB | rgb(64, 15, 15) |
| HSL | hsl(0, 62%, 15%) |
| HSV | hsv(0, 77%, 25%) |
| CMYK | cmyk(0%, 76.6%, 76.6%, 74.9%) |
| CIE-LAB | lab(12.39, 23.72, 12.64) |
| CIE-LCH | lch(12.39, 26.88, 28.06°) |
| OKLab | oklab(25.39% 0.0695 0.0314) |
| OKLCH | oklch(25.39% 0.076 24.3) |
| XYZ | xyz(2.3716, 1.4665, 0.6100) |
| Luminance | 0.0147 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Deep Brown
#410200
ΔE00 3.10
Dark Maroon
#3C0008
ΔE00 4.05
Mahogany
#4A0100
ΔE00 4.64
Dried Blood
#4B0101
ΔE00 4.73
Chocolate Brown
#411900
ΔE00 8.69
Claret
#680018
ΔE00 9.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#400F0F #0F4040
analogous
#400F27 #400F0F #40270F
triadic
#400F0F #0F400F #0F0F40
tetradic
#400F0F #27400F #0F4040 #270F40
square
#400F0F #27400F #0F4040 #270F40
split-complementary
#400F0F #0F4027 #0F2740
monochromatic
#190606 #190606 #400F0F #721B1B #A32626
Accessibility & contrast
On white
16.24
#400F0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.29
#400F0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #400F0F
16.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##400F0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##400F0F | 1.00 | 16.24 | 1.29 | 16.24 |
| #FFFFFF | 16.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C1A0F
Deuteranopia (green-blind)
#29240E
Tritanopia (blue-blind)
#470410
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #400f0f; /* rgb */ color: rgb(64, 15, 15); /* oklch */ color: oklch(25.4% 0.076 24.3);
Tailwind
colors: {
custom: {
50: '#79514d',
500: '#400f0f',
950: '#000000',
},
}SCSS
$custom: #400f0f; $custom-light: #79514d; $custom-dark: #000000;
JSON
{
"hex": "#400f0f",
"rgb": {
"r": 64,
"g": 15,
"b": 15
},
"hsl": {
"h": 0,
"s": 62.025,
"l": 15.49
},
"oklch": {
"l": 0.25391,
"c": 0.07623,
"h": 24.3
},
"luminance": 0.01466
}Semantic roles & 50–950 ramp
primary
#400F0F
secondary
#307A7A
accent
#E5E543
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877