#40100E#40100E
#40100E is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.5% C 0.075 H 26.3°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).
Color values
| HEX | #40100E |
|---|---|
| RGB | rgb(64, 16, 14) |
| HSL | hsl(2, 64%, 15%) |
| HSV | hsv(2, 78%, 25%) |
| CMYK | cmyk(0%, 75%, 78.1%, 74.9%) |
| CIE-LAB | lab(12.56, 23.16, 13.39) |
| CIE-LCH | lch(12.56, 26.75, 30.03°) |
| OKLab | oklab(25.51% 0.0674 0.0333) |
| OKLCH | oklch(25.51% 0.075 26.3) |
| XYZ | xyz(2.3792, 1.4926, 0.5782) |
| Luminance | 0.0149 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Deep Brown
#410200
ΔE00 3.21
Mahogany
#4A0100
ΔE00 4.57
Dark Maroon
#3C0008
ΔE00 4.67
Dried Blood
#4B0101
ΔE00 4.68
Chocolate Brown
#411900
ΔE00 7.98
Rosewood
#65000B
ΔE00 9.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40100E #0E3E40
analogous
#400E25 #40100E #40290E
triadic
#40100E #0E4010 #100E40
tetradic
#40100E #25400E #0E3E40 #290E40
square
#40100E #25400E #0E3E40 #290E40
split-complementary
#40100E #0E4029 #0E2540
monochromatic
#190605 #190605 #40100E #721D19 #A42924
Accessibility & contrast
On white
16.17
#40100E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.30
#40100E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40100E
16.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40100E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40100E | 1.00 | 16.17 | 1.30 | 16.17 |
| #FFFFFF | 16.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D1A0D
Deuteranopia (green-blind)
#29240D
Tritanopia (blue-blind)
#470510
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #40100e; /* rgb */ color: rgb(64, 16, 14); /* oklch */ color: oklch(25.5% 0.075 26.3);
Tailwind
colors: {
custom: {
50: '#79514d',
500: '#40100e',
950: '#000000',
},
}SCSS
$custom: #40100e; $custom-light: #79514d; $custom-dark: #000000;
JSON
{
"hex": "#40100e",
"rgb": {
"r": 64,
"g": 16,
"b": 14
},
"hsl": {
"h": 2.4,
"s": 64.103,
"l": 15.294
},
"oklch": {
"l": 0.25511,
"c": 0.07518,
"h": 26.3
},
"luminance": 0.01492
}Semantic roles & 50–950 ramp
primary
#40100E
secondary
#2F787B
accent
#E0E741
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877