#400F12#400F12
#400F12 is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.5% C 0.076 H 21.0°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).
Color values
| HEX | #400F12 |
|---|---|
| RGB | rgb(64, 15, 18) |
| HSL | hsl(356, 62%, 15%) |
| HSV | hsv(356, 77%, 25%) |
| CMYK | cmyk(0%, 76.6%, 71.9%, 74.9%) |
| CIE-LAB | lab(12.45, 23.94, 11.01) |
| CIE-LCH | lch(12.45, 26.35, 24.71°) |
| OKLab | oklab(25.45% 0.0709 0.0271) |
| OKLCH | oklch(25.45% 0.076 21) |
| XYZ | xyz(2.3946, 1.4756, 0.7309) |
| Luminance | 0.0147 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 3.47
Deep Brown
#410200
ΔE00 3.67
Mahogany
#4A0100
ΔE00 5.33
Dried Blood
#4B0101
ΔE00 5.39
Burgundy (survey)
#610023
ΔE00 8.91
Maroon (survey)
#650021
ΔE00 9.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#400F12 #0F403D
analogous
#400F2A #400F12 #40240F
triadic
#400F12 #12400F #0F1240
tetradic
#400F12 #2A400F #0F403D #240F40
square
#400F12 #2A400F #0F403D #240F40
split-complementary
#400F12 #0F4024 #0F2A40
monochromatic
#190607 #190607 #400F12 #721B20 #A3262E
Accessibility & contrast
On white
16.22
#400F12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.30
#400F12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #400F12
16.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##400F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##400F12 | 1.00 | 16.22 | 1.30 | 16.22 |
| #FFFFFF | 16.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C1A12
Deuteranopia (green-blind)
#282411
Tritanopia (blue-blind)
#470410
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #400f12; /* rgb */ color: rgb(64, 15, 18); /* oklch */ color: oklch(25.5% 0.076 21.0);
Tailwind
colors: {
custom: {
50: '#79514f',
500: '#400f12',
950: '#000000',
},
}SCSS
$custom: #400f12; $custom-light: #79514f; $custom-dark: #000000;
JSON
{
"hex": "#400f12",
"rgb": {
"r": 64,
"g": 15,
"b": 18
},
"hsl": {
"h": 356.327,
"s": 62.025,
"l": 15.49
},
"oklch": {
"l": 0.25454,
"c": 0.07587,
"h": 21
},
"luminance": 0.01475
}Semantic roles & 50–950 ramp
primary
#400F12
secondary
#307A76
accent
#E5DB43
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878