#400F19#400F19
#400F19 is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.6% C 0.076 H 12.2°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).
Color values
| HEX | #400F19 |
|---|---|
| RGB | rgb(64, 15, 25) |
| HSL | hsl(348, 62%, 15%) |
| HSV | hsv(348, 77%, 25%) |
| CMYK | cmyk(0%, 76.6%, 60.9%, 74.9%) |
| CIE-LAB | lab(12.62, 24.55, 6.38) |
| CIE-LCH | lch(12.62, 25.36, 14.56°) |
| OKLab | oklab(25.64% 0.0742 0.0161) |
| OKLCH | oklch(25.64% 0.076 12.2) |
| XYZ | xyz(2.4609, 1.5022, 1.0799) |
| Luminance | 0.0150 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 3.91
Deep Brown
#410200
ΔE00 6.34
Burgundy (survey)
#610023
ΔE00 7.79
Mahogany
#4A0100
ΔE00 8.02
Dried Blood
#4B0101
ΔE00 8.03
Maroon (survey)
#650021
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#400F19 #0F4036
analogous
#400F31 #400F19 #401D0F
triadic
#400F19 #19400F #0F1940
tetradic
#400F19 #31400F #0F4036 #1D0F40
square
#400F19 #31400F #0F4036 #1D0F40
split-complementary
#400F19 #0F401D #0F3140
monochromatic
#19060A #19060A #400F19 #721B2C #A32640
Accessibility & contrast
On white
16.15
#400F19 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.30
#400F19 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #400F19
16.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##400F19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##400F19 | 1.00 | 16.15 | 1.30 | 16.15 |
| #FFFFFF | 16.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B1A19
Deuteranopia (green-blind)
#272418
Tritanopia (blue-blind)
#470613
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #400f19; /* rgb */ color: rgb(64, 15, 25); /* oklch */ color: oklch(25.6% 0.076 12.2);
Tailwind
colors: {
custom: {
50: '#795155',
500: '#400f19',
950: '#000000',
},
}SCSS
$custom: #400f19; $custom-light: #795155; $custom-dark: #000000;
JSON
{
"hex": "#400f19",
"rgb": {
"r": 64,
"g": 15,
"b": 25
},
"hsl": {
"h": 347.755,
"s": 62.025,
"l": 15.49
},
"oklch": {
"l": 0.25635,
"c": 0.07593,
"h": 12.2
},
"luminance": 0.01502
}Semantic roles & 50–950 ramp
primary
#400F19
secondary
#307A6B
accent
#E5C443
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#090203
muted
#7B7878