#400E18#400E18
#400E18 is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.5% C 0.077 H 12.9°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).
Color values
| HEX | #400E18 |
|---|---|
| RGB | rgb(64, 14, 24) |
| HSL | hsl(348, 64%, 15%) |
| HSV | hsv(348, 78%, 25%) |
| CMYK | cmyk(0%, 78.1%, 62.5%, 74.9%) |
| CIE-LAB | lab(12.42, 24.94, 6.84) |
| CIE-LCH | lch(12.42, 25.86, 15.34°) |
| OKLab | oklab(25.48% 0.0753 0.0172) |
| OKLCH | oklch(25.48% 0.077 12.9) |
| XYZ | xyz(2.4365, 1.4703, 1.0195) |
| Luminance | 0.0147 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 3.57
Deep Brown
#410200
ΔE00 6.01
Mahogany
#4A0100
ΔE00 7.70
Dried Blood
#4B0101
ΔE00 7.71
Burgundy (survey)
#610023
ΔE00 7.71
Maroon (survey)
#650021
ΔE00 8.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#400E18 #0E4036
analogous
#400E31 #400E18 #401D0E
triadic
#400E18 #18400E #0E1840
tetradic
#400E18 #31400E #0E4036 #1D0E40
square
#400E18 #31400E #0E4036 #1D0E40
split-complementary
#400E18 #0E401D #0E3140
monochromatic
#190509 #190509 #400E18 #72192B #A4243E
Accessibility & contrast
On white
16.23
#400E18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.29
#400E18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #400E18
16.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##400E18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##400E18 | 1.00 | 16.23 | 1.29 | 16.23 |
| #FFFFFF | 16.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A1A18
Deuteranopia (green-blind)
#272417
Tritanopia (blue-blind)
#470512
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #400e18; /* rgb */ color: rgb(64, 14, 24); /* oklch */ color: oklch(25.5% 0.077 12.9);
Tailwind
colors: {
custom: {
50: '#795054',
500: '#400e18',
950: '#000000',
},
}SCSS
$custom: #400e18; $custom-light: #795054; $custom-dark: #000000;
JSON
{
"hex": "#400e18",
"rgb": {
"r": 64,
"g": 14,
"b": 24
},
"hsl": {
"h": 348,
"s": 64.103,
"l": 15.294
},
"oklch": {
"l": 0.25475,
"c": 0.07719,
"h": 12.9
},
"luminance": 0.0147
}Semantic roles & 50–950 ramp
primary
#400E18
secondary
#2F7B6C
accent
#E7C641
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#090202
muted
#7B7878