#40080E#40080E
#40080E is a very dark, moderate red. Relative luminance 0.013; OKLCH L 24.5% C 0.084 H 20.7°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).
Color values
| HEX | #40080E |
|---|---|
| RGB | rgb(64, 8, 14) |
| HSL | hsl(354, 78%, 14%) |
| HSV | hsv(354, 88%, 25%) |
| CMYK | cmyk(0%, 87.5%, 78.1%, 74.9%) |
| CIE-LAB | lab(11.25, 26.78, 11.59) |
| CIE-LCH | lch(11.25, 29.18, 23.40°) |
| OKLab | oklab(24.53% 0.0789 0.0298) |
| OKLCH | oklch(24.53% 0.084 20.7) |
| XYZ | xyz(2.2807, 1.2957, 0.5454) |
| Luminance | 0.0129 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 2.06
Deep Brown
#410200
ΔE00 2.85
Mahogany
#4A0100
ΔE00 4.71
Dried Blood
#4B0101
ΔE00 4.76
Burgundy (survey)
#610023
ΔE00 8.30
Maroon (survey)
#650021
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40080E #08403A
analogous
#40082A #40080E #401E08
triadic
#40080E #0E4008 #080E40
tetradic
#40080E #2A4008 #08403A #1E0840
square
#40080E #2A4008 #08403A #1E0840
split-complementary
#40080E #08401E #082A40
monochromatic
#1B0306 #1B0306 #40080E #760F1A #AD1626
Accessibility & contrast
On white
16.68
#40080E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.26
#40080E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40080E
16.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40080E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40080E | 1.00 | 16.68 | 1.26 | 16.68 |
| #FFFFFF | 16.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#19160E
Deuteranopia (green-blind)
#27220C
Tritanopia (blue-blind)
#47000B
Achromatopsia (no color)
#1E1E1E
Design tokens & code
CSS
--color: #40080e; /* rgb */ color: rgb(64, 8, 14); /* oklch */ color: oklch(24.5% 0.084 20.7);
Tailwind
colors: {
custom: {
50: '#7a4d4d',
500: '#40080e',
950: '#000000',
},
}SCSS
$custom: #40080e; $custom-light: #7a4d4d; $custom-dark: #000000;
JSON
{
"hex": "#40080e",
"rgb": {
"r": 64,
"g": 8,
"b": 14
},
"hsl": {
"h": 353.571,
"s": 77.778,
"l": 14.118
},
"oklch": {
"l": 0.24529,
"c": 0.08433,
"h": 20.7
},
"luminance": 0.01295
}Semantic roles & 50–950 ramp
primary
#40080E
secondary
#257E75
accent
#F4E034
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877