#40100B#40100B
#40100B is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.5% C 0.076 H 29.3°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).
Color values
| HEX | #40100B |
|---|---|
| RGB | rgb(64, 16, 11) |
| HSL | hsl(6, 71%, 15%) |
| HSV | hsv(6, 83%, 25%) |
| CMYK | cmyk(0%, 75%, 82.8%, 74.9%) |
| CIE-LAB | lab(12.51, 22.97, 14.72) |
| CIE-LCH | lch(12.51, 27.29, 32.66°) |
| OKLab | oklab(25.46% 0.0661 0.0371) |
| OKLCH | oklch(25.46% 0.076 29.3) |
| XYZ | xyz(2.3603, 1.4851, 0.4789) |
| Luminance | 0.0149 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Deep Brown
#410200
ΔE00 3.27
Mahogany
#4A0100
ΔE00 4.37
Dried Blood
#4B0101
ΔE00 4.49
Dark Maroon
#3C0008
ΔE00 5.39
Chocolate Brown
#411900
ΔE00 7.10
Rosewood
#65000B
ΔE00 8.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40100B #0B3B40
analogous
#400B21 #40100B #402B0B
triadic
#40100B #0B4010 #100B40
tetradic
#40100B #21400B #0B3B40 #2B0B40
square
#40100B #21400B #0B3B40 #2B0B40
split-complementary
#40100B #0B402B #0B2140
monochromatic
#1A0704 #1A0704 #40100B #741D14 #A82A1D
Accessibility & contrast
On white
16.19
#40100B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.30
#40100B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40100B
16.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40100B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40100B | 1.00 | 16.19 | 1.30 | 16.19 |
| #FFFFFF | 16.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D1A0A
Deuteranopia (green-blind)
#292409
Tritanopia (blue-blind)
#47040F
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #40100b; /* rgb */ color: rgb(64, 16, 11); /* oklch */ color: oklch(25.5% 0.076 29.3);
Tailwind
colors: {
custom: {
50: '#79514b',
500: '#40100b',
950: '#000000',
},
}SCSS
$custom: #40100b; $custom-light: #79514b; $custom-dark: #000000;
JSON
{
"hex": "#40100b",
"rgb": {
"r": 64,
"g": 16,
"b": 11
},
"hsl": {
"h": 5.66,
"s": 70.667,
"l": 14.706
},
"oklch": {
"l": 0.25459,
"c": 0.07579,
"h": 29.3
},
"luminance": 0.01485
}Semantic roles & 50–950 ramp
primary
#40100B
secondary
#2A757D
accent
#DDED3A
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877