#400C15#400C15
#400C15 is a dark, moderate red. Relative luminance 0.014; OKLCH L 25.1% C 0.080 H 15.3°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).
Color values
| HEX | #400C15 |
|---|---|
| RGB | rgb(64, 12, 21) |
| HSL | hsl(350, 68%, 15%) |
| HSV | hsv(350, 81%, 25%) |
| CMYK | cmyk(0%, 81.2%, 67.2%, 74.9%) |
| CIE-LAB | lab(12.01, 25.59, 8.46) |
| CIE-LCH | lch(12.01, 26.95, 18.30°) |
| OKLab | oklab(25.14% 0.0768 0.021) |
| OKLCH | oklch(25.14% 0.08 15.3) |
| XYZ | xyz(2.3814, 1.4074, 0.8556) |
| Luminance | 0.0141 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 2.72
Deep Brown
#410200
ΔE00 4.91
Mahogany
#4A0100
ΔE00 6.64
Dried Blood
#4B0101
ΔE00 6.65
Burgundy (survey)
#610023
ΔE00 7.74
Maroon (survey)
#650021
ΔE00 8.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#400C15 #0C4037
analogous
#400C2F #400C15 #401D0C
triadic
#400C15 #15400C #0C1540
tetradic
#400C15 #2F400C #0C4037 #1D0C40
square
#400C15 #2F400C #0C4037 #1D0C40
split-complementary
#400C15 #0C401D #0C2F40
monochromatic
#1A0508 #1A0508 #400C15 #741626 #A71F37
Accessibility & contrast
On white
16.39
#400C15 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.28
#400C15 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #400C15
16.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##400C15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##400C15 | 1.00 | 16.39 | 1.28 | 16.39 |
| #FFFFFF | 16.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A1915
Deuteranopia (green-blind)
#272314
Tritanopia (blue-blind)
#470210
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #400c15; /* rgb */ color: rgb(64, 12, 21); /* oklch */ color: oklch(25.1% 0.080 15.3);
Tailwind
colors: {
custom: {
50: '#794f52',
500: '#400c15',
950: '#000000',
},
}SCSS
$custom: #400c15; $custom-light: #794f52; $custom-dark: #000000;
JSON
{
"hex": "#400c15",
"rgb": {
"r": 64,
"g": 12,
"b": 21
},
"hsl": {
"h": 349.615,
"s": 68.421,
"l": 14.902
},
"oklch": {
"l": 0.25144,
"c": 0.07959,
"h": 15.3
},
"luminance": 0.01407
}Semantic roles & 50–950 ramp
primary
#400C15
secondary
#2C7C6E
accent
#EBCD3D
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878