#400F18#400F18
#400F18 is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.6% C 0.076 H 13.5°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).
Color values
| HEX | #400F18 |
|---|---|
| RGB | rgb(64, 15, 24) |
| HSL | hsl(349, 62%, 15%) |
| HSV | hsv(349, 77%, 25%) |
| CMYK | cmyk(0%, 76.6%, 62.5%, 74.9%) |
| CIE-LAB | lab(12.59, 24.45, 7.08) |
| CIE-LCH | lch(12.59, 25.46, 16.16°) |
| OKLab | oklab(25.61% 0.0737 0.0177) |
| OKLCH | oklch(25.61% 0.076 13.5) |
| XYZ | xyz(2.4503, 1.4979, 1.0241) |
| Luminance | 0.0150 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 3.65
Deep Brown
#410200
ΔE00 5.89
Mahogany
#4A0100
ΔE00 7.58
Dried Blood
#4B0101
ΔE00 7.59
Burgundy (survey)
#610023
ΔE00 7.86
Maroon (survey)
#650021
ΔE00 8.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#400F18 #0F4037
analogous
#400F30 #400F18 #401E0F
triadic
#400F18 #18400F #0F1840
tetradic
#400F18 #30400F #0F4037 #1E0F40
square
#400F18 #30400F #0F4037 #1E0F40
split-complementary
#400F18 #0F401E #0F3040
monochromatic
#190609 #190609 #400F18 #721B2B #A3263D
Accessibility & contrast
On white
16.16
#400F18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.30
#400F18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #400F18
16.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##400F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##400F18 | 1.00 | 16.16 | 1.30 | 16.16 |
| #FFFFFF | 16.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B1A18
Deuteranopia (green-blind)
#282417
Tritanopia (blue-blind)
#470613
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #400f18; /* rgb */ color: rgb(64, 15, 24); /* oklch */ color: oklch(25.6% 0.076 13.5);
Tailwind
colors: {
custom: {
50: '#795154',
500: '#400f18',
950: '#000000',
},
}SCSS
$custom: #400f18; $custom-light: #795154; $custom-dark: #000000;
JSON
{
"hex": "#400f18",
"rgb": {
"r": 64,
"g": 15,
"b": 24
},
"hsl": {
"h": 348.98,
"s": 62.025,
"l": 15.49
},
"oklch": {
"l": 0.25607,
"c": 0.07583,
"h": 13.5
},
"luminance": 0.01498
}Semantic roles & 50–950 ramp
primary
#400F18
secondary
#307A6D
accent
#E5C743
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#090202
muted
#7B7878