#400710#400710
#400710 is a very dark, moderate red. Relative luminance 0.013; OKLCH L 24.5% C 0.085 H 18.0°. Best body text is #FFFFFF at 16.72:1 contrast (WCAG AA passes).
Color values
| HEX | #400710 |
|---|---|
| RGB | rgb(64, 7, 16) |
| HSL | hsl(351, 80%, 14%) |
| HSV | hsv(351, 89%, 25%) |
| CMYK | cmyk(0%, 89.1%, 75%, 74.9%) |
| CIE-LAB | lab(11.13, 27.34, 10.37) |
| CIE-LCH | lch(11.13, 29.24, 20.78°) |
| OKLab | oklab(24.46% 0.0812 0.0264) |
| OKLCH | oklch(24.46% 0.085 18) |
| XYZ | xyz(2.2841, 1.2797, 0.6169) |
| Luminance | 0.0128 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 1.63
Deep Brown
#410200
ΔE00 3.64
Mahogany
#4A0100
ΔE00 5.44
Dried Blood
#4B0101
ΔE00 5.47
Burgundy (survey)
#610023
ΔE00 7.79
Maroon (survey)
#650021
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#400710 #074037
analogous
#40072D #400710 #401B07
triadic
#400710 #104007 #071040
tetradic
#400710 #2D4007 #074037 #1B0740
square
#400710 #2D4007 #074037 #1B0740
split-complementary
#400710 #07401B #072D40
monochromatic
#1C0307 #1C0307 #400710 #770D1E #AE132C
Accessibility & contrast
On white
16.72
#400710 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.26
#400710 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #400710
16.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##400710 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##400710 | 1.00 | 16.72 | 1.26 | 16.72 |
| #FFFFFF | 16.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#181610
Deuteranopia (green-blind)
#26220E
Tritanopia (blue-blind)
#47000B
Achromatopsia (no color)
#1E1E1E
Design tokens & code
CSS
--color: #400710; /* rgb */ color: rgb(64, 7, 16); /* oklch */ color: oklch(24.5% 0.085 18.0);
Tailwind
colors: {
custom: {
50: '#7a4d4e',
500: '#400710',
950: '#000000',
},
}SCSS
$custom: #400710; $custom-light: #7a4d4e; $custom-dark: #000000;
JSON
{
"hex": "#400710",
"rgb": {
"r": 64,
"g": 7,
"b": 16
},
"hsl": {
"h": 350.526,
"s": 80.282,
"l": 13.922
},
"oklch": {
"l": 0.24459,
"c": 0.08541,
"h": 18
},
"luminance": 0.01279
}Semantic roles & 50–950 ramp
primary
#400710
secondary
#247F71
accent
#F7D831
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0101
muted
#7C7777