#40090A#40090A
#40090A is a very dark, moderate red. Relative luminance 0.013; OKLCH L 24.6% C 0.084 H 25.0°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).
Color values
| HEX | #40090A |
|---|---|
| RGB | rgb(64, 9, 10) |
| HSL | hsl(359, 75%, 14%) |
| HSV | hsv(359, 86%, 25%) |
| CMYK | cmyk(0%, 85.9%, 84.4%, 74.9%) |
| CIE-LAB | lab(11.33, 26.13, 13.52) |
| CIE-LCH | lch(11.33, 29.42, 27.36°) |
| OKLab | oklab(24.57% 0.0758 0.0354) |
| OKLCH | oklch(24.57% 0.084 25) |
| XYZ | xyz(2.2671, 1.3076, 0.4201) |
| Luminance | 0.0131 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Deep Brown
#410200
ΔE00 1.88
Dark Maroon
#3C0008
ΔE00 3.16
Mahogany
#4A0100
ΔE00 3.76
Dried Blood
#4B0101
ΔE00 3.85
Claret
#680018
ΔE00 8.63
Rosewood
#65000B
ΔE00 8.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40090A #09403F
analogous
#400926 #40090A #402409
triadic
#40090A #0A4009 #090A40
tetradic
#40090A #264009 #09403F #240940
square
#40090A #264009 #09403F #240940
split-complementary
#40090A #094024 #092640
monochromatic
#1B0404 #1B0404 #40090A #761112 #AB181B
Accessibility & contrast
On white
16.65
#40090A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.26
#40090A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40090A
16.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40090A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40090A | 1.00 | 16.65 | 1.26 | 16.65 |
| #FFFFFF | 16.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A1709
Deuteranopia (green-blind)
#272208
Tritanopia (blue-blind)
#47000A
Achromatopsia (no color)
#1E1E1E
Design tokens & code
CSS
--color: #40090a; /* rgb */ color: rgb(64, 9, 10); /* oklch */ color: oklch(24.6% 0.084 25.0);
Tailwind
colors: {
custom: {
50: '#7a4e4b',
500: '#40090a',
950: '#000000',
},
}SCSS
$custom: #40090a; $custom-light: #7a4e4b; $custom-dark: #000000;
JSON
{
"hex": "#40090a",
"rgb": {
"r": 64,
"g": 9,
"b": 10
},
"hsl": {
"h": 358.909,
"s": 75.342,
"l": 14.314
},
"oklch": {
"l": 0.24569,
"c": 0.08365,
"h": 25
},
"luminance": 0.01307
}Semantic roles & 50–950 ramp
primary
#40090A
secondary
#277E7C
accent
#F2EF36
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877