#400B15#400B15
#400B15 is a dark, moderate red. Relative luminance 0.014; OKLCH L 25.0% C 0.081 H 14.7°. Best body text is #FFFFFF at 16.45:1 contrast (WCAG AA passes).
Color values
| HEX | #400B15 |
|---|---|
| RGB | rgb(64, 11, 21) |
| HSL | hsl(349, 71%, 15%) |
| HSV | hsv(349, 83%, 25%) |
| CMYK | cmyk(0%, 82.8%, 67.2%, 74.9%) |
| CIE-LAB | lab(11.85, 26.03, 8.25) |
| CIE-LCH | lch(11.85, 27.30, 17.59°) |
| OKLab | oklab(25.03% 0.0782 0.0205) |
| OKLCH | oklch(25.03% 0.081 14.7) |
| XYZ | xyz(2.3696, 1.3838, 0.8516) |
| Luminance | 0.0138 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 2.62
Deep Brown
#410200
ΔE00 5.03
Mahogany
#4A0100
ΔE00 6.76
Dried Blood
#4B0101
ΔE00 6.77
Burgundy (survey)
#610023
ΔE00 7.60
Maroon (survey)
#650021
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#400B15 #0B4036
analogous
#400B30 #400B15 #401B0B
triadic
#400B15 #15400B #0B1540
tetradic
#400B15 #30400B #0B4036 #1B0B40
square
#400B15 #30400B #0B4036 #1B0B40
split-complementary
#400B15 #0B401B #0B3040
monochromatic
#1A0409 #1A0409 #400B15 #741426 #A81D37
Accessibility & contrast
On white
16.45
#400B15 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.28
#400B15 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #400B15
16.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##400B15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##400B15 | 1.00 | 16.45 | 1.28 | 16.45 |
| #FFFFFF | 16.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#191815
Deuteranopia (green-blind)
#272314
Tritanopia (blue-blind)
#47010F
Achromatopsia (no color)
#1F1F1F
Design tokens & code
CSS
--color: #400b15; /* rgb */ color: rgb(64, 11, 21); /* oklch */ color: oklch(25.0% 0.081 14.7);
Tailwind
colors: {
custom: {
50: '#794f52',
500: '#400b15',
950: '#000000',
},
}SCSS
$custom: #400b15; $custom-light: #794f52; $custom-dark: #000000;
JSON
{
"hex": "#400b15",
"rgb": {
"r": 64,
"g": 11,
"b": 21
},
"hsl": {
"h": 348.679,
"s": 70.667,
"l": 14.706
},
"oklch": {
"l": 0.25027,
"c": 0.08082,
"h": 14.7
},
"luminance": 0.01383
}Semantic roles & 50–950 ramp
primary
#400B15
secondary
#2A7D6D
accent
#EDCC3A
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878