#400C19#400C19
#400C19 is a dark, moderate red. Relative luminance 0.014; OKLCH L 25.3% C 0.080 H 10.4°. Best body text is #FFFFFF at 16.35:1 contrast (WCAG AA passes).
Color values
| HEX | #400C19 |
|---|---|
| RGB | rgb(64, 12, 25) |
| HSL | hsl(345, 68%, 15%) |
| HSV | hsv(345, 81%, 25%) |
| CMYK | cmyk(0%, 81.2%, 60.9%, 74.9%) |
| CIE-LAB | lab(12.11, 25.95, 5.67) |
| CIE-LCH | lch(12.11, 26.56, 12.34°) |
| OKLab | oklab(25.26% 0.0787 0.0144) |
| OKLCH | oklch(25.26% 0.08 10.4) |
| XYZ | xyz(2.4215, 1.4235, 1.0668) |
| Luminance | 0.0142 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 3.85
Deep Brown
#410200
ΔE00 6.74
Burgundy (survey)
#610023
ΔE00 7.44
Maroon (survey)
#650021
ΔE00 8.28
Dried Blood
#4B0101
ΔE00 8.42
Mahogany
#4A0100
ΔE00 8.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#400C19 #0C4033
analogous
#400C33 #400C19 #40190C
triadic
#400C19 #19400C #0C1940
tetradic
#400C19 #33400C #0C4033 #190C40
square
#400C19 #33400C #0C4033 #190C40
split-complementary
#400C19 #0C4019 #0C3340
monochromatic
#1A050A #1A050A #400C19 #74162D #A71F41
Accessibility & contrast
On white
16.35
#400C19 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.28
#400C19 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #400C19
16.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##400C19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##400C19 | 1.00 | 16.35 | 1.28 | 16.35 |
| #FFFFFF | 16.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#191919
Deuteranopia (green-blind)
#262418
Tritanopia (blue-blind)
#470311
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #400c19; /* rgb */ color: rgb(64, 12, 25); /* oklch */ color: oklch(25.3% 0.080 10.4);
Tailwind
colors: {
custom: {
50: '#794f55',
500: '#400c19',
950: '#000000',
},
}SCSS
$custom: #400c19; $custom-light: #794f55; $custom-dark: #000000;
JSON
{
"hex": "#400c19",
"rgb": {
"r": 64,
"g": 12,
"b": 25
},
"hsl": {
"h": 345,
"s": 68.421,
"l": 14.902
},
"oklch": {
"l": 0.25257,
"c": 0.07999,
"h": 10.4
},
"luminance": 0.01423
}Semantic roles & 50–950 ramp
primary
#400C19
secondary
#2C7C68
accent
#EBC03D
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#090203
muted
#7B7878