#400A1B#400A1B
#400A1B is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.1% C 0.083 H 6.9°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).
Color values
| HEX | #400A1B |
|---|---|
| RGB | rgb(64, 10, 27) |
| HSL | hsl(341, 73%, 15%) |
| HSV | hsv(341, 84%, 25%) |
| CMYK | cmyk(0%, 84.4%, 57.8%, 74.9%) |
| CIE-LAB | lab(11.87, 26.99, 3.83) |
| CIE-LCH | lch(11.87, 27.26, 8.07°) |
| OKLab | oklab(25.1% 0.0823 0.0099) |
| OKLCH | oklch(25.1% 0.083 6.9) |
| XYZ | xyz(2.4209, 1.3865, 1.1768) |
| Luminance | 0.0139 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Maroon
#3C0008
ΔE00 4.77
Burgundy (survey)
#610023
ΔE00 7.39
Deep Brown
#410200
ΔE00 7.97
Maroon (survey)
#650021
ΔE00 8.48
Dark Plum
#3F012C
ΔE00 8.62
Dried Blood
#4B0101
ΔE00 9.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#400A1B #0A402F
analogous
#400A36 #400A1B #40140A
triadic
#400A1B #1B400A #0A1B40
tetradic
#400A1B #36400A #0A402F #140A40
square
#400A1B #36400A #0A402F #140A40
split-complementary
#400A1B #0A4014 #0A3640
monochromatic
#1A040B #1A040B #400A1B #751231 #AA1B48
Accessibility & contrast
On white
16.44
#400A1B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.28
#400A1B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #400A1B
16.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##400A1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##400A1B | 1.00 | 16.44 | 1.28 | 16.44 |
| #FFFFFF | 16.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#17181B
Deuteranopia (green-blind)
#26231A
Tritanopia (blue-blind)
#470111
Achromatopsia (no color)
#1F1F1F
Design tokens & code
CSS
--color: #400a1b; /* rgb */ color: rgb(64, 10, 27); /* oklch */ color: oklch(25.1% 0.083 6.9);
Tailwind
colors: {
custom: {
50: '#794f57',
500: '#400a1b',
950: '#000000',
},
}SCSS
$custom: #400a1b; $custom-light: #794f57; $custom-dark: #000000;
JSON
{
"hex": "#400a1b",
"rgb": {
"r": 64,
"g": 10,
"b": 27
},
"hsl": {
"h": 341.111,
"s": 72.973,
"l": 14.51
},
"oklch": {
"l": 0.25095,
"c": 0.08292,
"h": 6.9
},
"luminance": 0.01386
}Semantic roles & 50–950 ramp
primary
#400A1B
secondary
#297D63
accent
#F0B638
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090203
muted
#7B7878