#400F15#400F15
#400F15 is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.5% C 0.076 H 17.3°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).
Color values
| HEX | #400F15 |
|---|---|
| RGB | rgb(64, 15, 21) |
| HSL | hsl(353, 62%, 15%) |
| HSV | hsv(353, 77%, 25%) |
| CMYK | cmyk(0%, 76.6%, 67.2%, 74.9%) |
| CIE-LAB | lab(12.52, 24.18, 9.16) |
| CIE-LCH | lch(12.52, 25.86, 20.75°) |
| OKLab | oklab(25.53% 0.0723 0.0226) |
| OKLCH | oklch(25.53% 0.076 17.3) |
| XYZ | xyz(2.4208, 1.4861, 0.8687) |
| Luminance | 0.0149 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 3.25
Deep Brown
#410200
ΔE00 4.63
Mahogany
#4A0100
ΔE00 6.32
Dried Blood
#4B0101
ΔE00 6.35
Burgundy (survey)
#610023
ΔE00 8.29
Maroon (survey)
#650021
ΔE00 8.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#400F15 #0F403A
analogous
#400F2D #400F15 #40210F
triadic
#400F15 #15400F #0F1540
tetradic
#400F15 #2D400F #0F403A #210F40
square
#400F15 #2D400F #0F403A #210F40
split-complementary
#400F15 #0F4021 #0F2D40
monochromatic
#190608 #190608 #400F15 #721B25 #A32636
Accessibility & contrast
On white
16.19
#400F15 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.30
#400F15 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #400F15
16.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##400F15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##400F15 | 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)
#1C1A15
Deuteranopia (green-blind)
#282414
Tritanopia (blue-blind)
#470511
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #400f15; /* rgb */ color: rgb(64, 15, 21); /* oklch */ color: oklch(25.5% 0.076 17.3);
Tailwind
colors: {
custom: {
50: '#795152',
500: '#400f15',
950: '#000000',
},
}SCSS
$custom: #400f15; $custom-light: #795152; $custom-dark: #000000;
JSON
{
"hex": "#400f15",
"rgb": {
"r": 64,
"g": 15,
"b": 21
},
"hsl": {
"h": 352.653,
"s": 62.025,
"l": 15.49
},
"oklch": {
"l": 0.25526,
"c": 0.07572,
"h": 17.3
},
"luminance": 0.01486
}Semantic roles & 50–950 ramp
primary
#400F15
secondary
#307A71
accent
#E5D143
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878