#400D1F#400D1F
#400D1F is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.6% C 0.080 H 3.3°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).
Color values
| HEX | #400D1F |
|---|---|
| RGB | rgb(64, 13, 31) |
| HSL | hsl(339, 66%, 15%) |
| HSV | hsv(339, 80%, 25%) |
| CMYK | cmyk(0%, 79.7%, 51.6%, 74.9%) |
| CIE-LAB | lab(12.46, 26.13, 1.67) |
| CIE-LCH | lch(12.46, 26.19, 3.67°) |
| OKLab | oklab(25.58% 0.0799 0.0046) |
| OKLCH | oklch(25.58% 0.08 3.3) |
| XYZ | xyz(2.5058, 1.4771, 1.4492) |
| Luminance | 0.0148 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Maroon
#3C0008
ΔE00 6.21
Dark Plum
#3F012C
ΔE00 7.46
Burgundy (survey)
#610023
ΔE00 7.98
Maroon (survey)
#650021
ΔE00 9.21
Deep Brown
#410200
ΔE00 9.38
Aubergine
#3D0734
ΔE00 9.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#400D1F #0D402E
analogous
#400D38 #400D1F #40150D
triadic
#400D1F #1F400D #0D1F40
tetradic
#400D1F #38400D #0D402E #150D40
square
#400D1F #38400D #0D402E #150D40
split-complementary
#400D1F #0D4015 #0D3840
monochromatic
#19050C #19050C #400D1F #731738 #A62250
Accessibility & contrast
On white
16.21
#400D1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.30
#400D1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #400D1F
16.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##400D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##400D1F | 1.00 | 16.21 | 1.30 | 16.21 |
| #FFFFFF | 16.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#181A1F
Deuteranopia (green-blind)
#26241E
Tritanopia (blue-blind)
#460614
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #400d1f; /* rgb */ color: rgb(64, 13, 31); /* oklch */ color: oklch(25.6% 0.080 3.3);
Tailwind
colors: {
custom: {
50: '#78505a',
500: '#400d1f',
950: '#000000',
},
}SCSS
$custom: #400d1f; $custom-light: #78505a; $custom-dark: #000000;
JSON
{
"hex": "#400d1f",
"rgb": {
"r": 64,
"g": 13,
"b": 31
},
"hsl": {
"h": 338.824,
"s": 66.234,
"l": 15.098
},
"oklch": {
"l": 0.25577,
"c": 0.08008,
"h": 3.3
},
"luminance": 0.01477
}Semantic roles & 50–950 ramp
primary
#400D1F
secondary
#2D7C60
accent
#E9AD3F
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090203
muted
#7B7878