#400C13#400C13
#400C13 is a dark, moderate red. Relative luminance 0.014; OKLCH L 25.1% C 0.080 H 17.6°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).
Color values
| HEX | #400C13 |
|---|---|
| RGB | rgb(64, 12, 19) |
| HSL | hsl(352, 68%, 15%) |
| HSV | hsv(352, 81%, 25%) |
| CMYK | cmyk(0%, 81.2%, 70.3%, 74.9%) |
| CIE-LAB | lab(11.96, 25.43, 9.72) |
| CIE-LCH | lch(11.96, 27.22, 20.93°) |
| OKLab | oklab(25.09% 0.0758 0.0241) |
| OKLCH | oklch(25.09% 0.08 17.6) |
| XYZ | xyz(2.3636, 1.4003, 0.7618) |
| Luminance | 0.0140 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 2.57
Deep Brown
#410200
ΔE00 4.12
Mahogany
#4A0100
ΔE00 5.87
Dried Blood
#4B0101
ΔE00 5.90
Burgundy (survey)
#610023
ΔE00 8.07
Maroon (survey)
#650021
ΔE00 8.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#400C13 #0C4039
analogous
#400C2D #400C13 #401F0C
triadic
#400C13 #13400C #0C1340
tetradic
#400C13 #2D400C #0C4039 #1F0C40
square
#400C13 #2D400C #0C4039 #1F0C40
split-complementary
#400C13 #0C401F #0C2D40
monochromatic
#1A0508 #1A0508 #400C13 #741622 #A71F32
Accessibility & contrast
On white
16.41
#400C13 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.28
#400C13 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #400C13
16.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##400C13 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##400C13 | 1.00 | 16.41 | 1.28 | 16.41 |
| #FFFFFF | 16.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A1813
Deuteranopia (green-blind)
#272312
Tritanopia (blue-blind)
#47010F
Achromatopsia (no color)
#1F1F1F
Design tokens & code
CSS
--color: #400c13; /* rgb */ color: rgb(64, 12, 19); /* oklch */ color: oklch(25.1% 0.080 17.6);
Tailwind
colors: {
custom: {
50: '#794f50',
500: '#400c13',
950: '#000000',
},
}SCSS
$custom: #400c13; $custom-light: #794f50; $custom-dark: #000000;
JSON
{
"hex": "#400c13",
"rgb": {
"r": 64,
"g": 12,
"b": 19
},
"hsl": {
"h": 351.923,
"s": 68.421,
"l": 14.902
},
"oklch": {
"l": 0.25094,
"c": 0.07957,
"h": 17.6
},
"luminance": 0.014
}Semantic roles & 50–950 ramp
primary
#400C13
secondary
#2C7C71
accent
#EBD43D
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878