#400F14#400F14
#400F14 is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.5% C 0.076 H 18.6°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).
Color values
| HEX | #400F14 |
|---|---|
| RGB | rgb(64, 15, 20) |
| HSL | hsl(354, 62%, 15%) |
| HSV | hsv(354, 77%, 25%) |
| CMYK | cmyk(0%, 76.6%, 68.8%, 74.9%) |
| CIE-LAB | lab(12.50, 24.10, 9.81) |
| CIE-LCH | lch(12.50, 26.02, 22.14°) |
| OKLab | oklab(25.5% 0.0718 0.0241) |
| OKLCH | oklch(25.5% 0.076 18.6) |
| XYZ | xyz(2.4117, 1.4825, 0.8208) |
| Luminance | 0.0148 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 3.27
Deep Brown
#410200
ΔE00 4.27
Mahogany
#4A0100
ΔE00 5.96
Dried Blood
#4B0101
ΔE00 6.00
Burgundy (survey)
#610023
ΔE00 8.48
Maroon (survey)
#650021
ΔE00 8.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#400F14 #0F403B
analogous
#400F2C #400F14 #40220F
triadic
#400F14 #14400F #0F1440
tetradic
#400F14 #2C400F #0F403B #220F40
square
#400F14 #2C400F #0F403B #220F40
split-complementary
#400F14 #0F4022 #0F2C40
monochromatic
#190608 #190608 #400F14 #721B23 #A32633
Accessibility & contrast
On white
16.20
#400F14 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.30
#400F14 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #400F14
16.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##400F14 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##400F14 | 1.00 | 16.20 | 1.30 | 16.20 |
| #FFFFFF | 16.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C1A14
Deuteranopia (green-blind)
#282413
Tritanopia (blue-blind)
#470511
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #400f14; /* rgb */ color: rgb(64, 15, 20); /* oklch */ color: oklch(25.5% 0.076 18.6);
Tailwind
colors: {
custom: {
50: '#795151',
500: '#400f14',
950: '#000000',
},
}SCSS
$custom: #400f14; $custom-light: #795151; $custom-dark: #000000;
JSON
{
"hex": "#400f14",
"rgb": {
"r": 64,
"g": 15,
"b": 20
},
"hsl": {
"h": 353.878,
"s": 62.025,
"l": 15.49
},
"oklch": {
"l": 0.25501,
"c": 0.07575,
"h": 18.6
},
"luminance": 0.01482
}Semantic roles & 50–950 ramp
primary
#400F14
secondary
#307A73
accent
#E5D543
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878