#40100F#40100F
#40100F is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.5% C 0.075 H 25.2°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).
Color values
| HEX | #40100F |
|---|---|
| RGB | rgb(64, 16, 15) |
| HSL | hsl(1, 62%, 15%) |
| HSV | hsv(1, 77%, 25%) |
| CMYK | cmyk(0%, 75%, 76.6%, 74.9%) |
| CIE-LAB | lab(12.58, 23.22, 12.89) |
| CIE-LCH | lch(12.58, 26.56, 29.04°) |
| OKLab | oklab(25.53% 0.0679 0.0319) |
| OKLCH | oklch(25.53% 0.075 25.2) |
| XYZ | xyz(2.3861, 1.4954, 0.6148) |
| Luminance | 0.0149 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Deep Brown
#410200
ΔE00 3.27
Dark Maroon
#3C0008
ΔE00 4.44
Mahogany
#4A0100
ΔE00 4.71
Dried Blood
#4B0101
ΔE00 4.80
Chocolate Brown
#411900
ΔE00 8.30
Rosewood
#65000B
ΔE00 9.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40100F #0F3F40
analogous
#400F26 #40100F #40280F
triadic
#40100F #0F4010 #100F40
tetradic
#40100F #26400F #0F3F40 #280F40
square
#40100F #26400F #0F3F40 #280F40
split-complementary
#40100F #0F4028 #0F2640
monochromatic
#190606 #190606 #40100F #721C1B #A32926
Accessibility & contrast
On white
16.17
#40100F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.30
#40100F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40100F
16.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40100F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40100F | 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)
#1D1A0E
Deuteranopia (green-blind)
#29250E
Tritanopia (blue-blind)
#470510
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #40100f; /* rgb */ color: rgb(64, 16, 15); /* oklch */ color: oklch(25.5% 0.075 25.2);
Tailwind
colors: {
custom: {
50: '#79514d',
500: '#40100f',
950: '#000000',
},
}SCSS
$custom: #40100f; $custom-light: #79514d; $custom-dark: #000000;
JSON
{
"hex": "#40100f",
"rgb": {
"r": 64,
"g": 16,
"b": 15
},
"hsl": {
"h": 1.224,
"s": 62.025,
"l": 15.49
},
"oklch": {
"l": 0.2553,
"c": 0.075,
"h": 25.2
},
"luminance": 0.01495
}Semantic roles & 50–950 ramp
primary
#40100F
secondary
#30797A
accent
#E2E543
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877