#40090C#40090C
#40090C is a very dark, moderate red. Relative luminance 0.013; OKLCH L 24.6% C 0.083 H 23.2°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).
Color values
| HEX | #40090C |
|---|---|
| RGB | rgb(64, 9, 12) |
| HSL | hsl(357, 75%, 14%) |
| HSV | hsv(357, 86%, 25%) |
| CMYK | cmyk(0%, 85.9%, 81.2%, 74.9%) |
| CIE-LAB | lab(11.36, 26.24, 12.71) |
| CIE-LCH | lch(11.36, 29.15, 25.84°) |
| OKLab | oklab(24.6% 0.0767 0.0329) |
| OKLCH | oklch(24.6% 0.083 23.2) |
| XYZ | xyz(2.2787, 1.3123, 0.4811) |
| Luminance | 0.0131 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Deep Brown
#410200
ΔE00 2.25
Dark Maroon
#3C0008
ΔE00 2.73
Mahogany
#4A0100
ΔE00 4.14
Dried Blood
#4B0101
ΔE00 4.21
Claret
#680018
ΔE00 8.60
Maroon (survey)
#650021
ΔE00 8.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40090C #09403D
analogous
#400928 #40090C #402209
triadic
#40090C #0C4009 #090C40
tetradic
#40090C #284009 #09403D #220940
square
#40090C #284009 #09403D #220940
split-complementary
#40090C #094022 #092840
monochromatic
#1B0405 #1B0405 #40090C #761116 #AB1820
Accessibility & contrast
On white
16.63
#40090C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.26
#40090C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40090C
16.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40090C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40090C | 1.00 | 16.63 | 1.26 | 16.63 |
| #FFFFFF | 16.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#19170C
Deuteranopia (green-blind)
#27220A
Tritanopia (blue-blind)
#47000B
Achromatopsia (no color)
#1E1E1E
Design tokens & code
CSS
--color: #40090c; /* rgb */ color: rgb(64, 9, 12); /* oklch */ color: oklch(24.6% 0.083 23.2);
Tailwind
colors: {
custom: {
50: '#7a4e4c',
500: '#40090c',
950: '#000000',
},
}SCSS
$custom: #40090c; $custom-light: #7a4e4c; $custom-dark: #000000;
JSON
{
"hex": "#40090c",
"rgb": {
"r": 64,
"g": 9,
"b": 12
},
"hsl": {
"h": 356.727,
"s": 75.342,
"l": 14.314
},
"oklch": {
"l": 0.24604,
"c": 0.08341,
"h": 23.2
},
"luminance": 0.01312
}Semantic roles & 50–950 ramp
primary
#40090C
secondary
#277E79
accent
#F2E836
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877