#400E1D#400E1D
#400E1D is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.6% C 0.078 H 6.4°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).
Color values
| HEX | #400E1D |
|---|---|
| RGB | rgb(64, 14, 29) |
| HSL | hsl(342, 64%, 15%) |
| HSV | hsv(342, 78%, 25%) |
| CMYK | cmyk(0%, 78.1%, 54.7%, 74.9%) |
| CIE-LAB | lab(12.56, 25.45, 3.31) |
| CIE-LCH | lch(12.56, 25.66, 7.42°) |
| OKLab | oklab(25.63% 0.0776 0.0087) |
| OKLCH | oklch(25.63% 0.078 6.4) |
| XYZ | xyz(2.4934, 1.4931, 1.3191) |
| Luminance | 0.0149 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Maroon
#3C0008
ΔE00 5.32
Burgundy (survey)
#610023
ΔE00 7.77
Deep Brown
#410200
ΔE00 8.32
Dark Plum
#3F012C
ΔE00 8.59
Maroon (survey)
#650021
ΔE00 8.84
Dried Blood
#4B0101
ΔE00 9.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#400E1D #0E4031
analogous
#400E36 #400E1D #40180E
triadic
#400E1D #1D400E #0E1D40
tetradic
#400E1D #36400E #0E4031 #180E40
square
#400E1D #36400E #0E4031 #180E40
split-complementary
#400E1D #0E4018 #0E3640
monochromatic
#19050B #19050B #400E1D #721934 #A4244B
Accessibility & contrast
On white
16.17
#400E1D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.30
#400E1D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #400E1D
16.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##400E1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##400E1D | 1.00 | 16.17 | 1.30 | 16.17 |
| #FFFFFF | 16.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#191A1D
Deuteranopia (green-blind)
#26241C
Tritanopia (blue-blind)
#460614
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #400e1d; /* rgb */ color: rgb(64, 14, 29); /* oklch */ color: oklch(25.6% 0.078 6.4);
Tailwind
colors: {
custom: {
50: '#785158',
500: '#400e1d',
950: '#000000',
},
}SCSS
$custom: #400e1d; $custom-light: #785158; $custom-dark: #000000;
JSON
{
"hex": "#400e1d",
"rgb": {
"r": 64,
"g": 14,
"b": 29
},
"hsl": {
"h": 342,
"s": 64.103,
"l": 15.294
},
"oklch": {
"l": 0.25631,
"c": 0.07807,
"h": 6.4
},
"luminance": 0.01493
}Semantic roles & 50–950 ramp
primary
#400E1D
secondary
#2F7B64
accent
#E7B541
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090203
muted
#7B7878