#400E2A#400E2A
#400E2A is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.2% C 0.084 H 350.0°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).
Color values
| HEX | #400E2A |
|---|---|
| RGB | rgb(64, 14, 42) |
| HSL | hsl(326, 64%, 15%) |
| HSV | hsv(326, 78%, 25%) |
| CMYK | cmyk(0%, 78.1%, 34.4%, 74.9%) |
| CIE-LAB | lab(13.06, 27.12, -5.60) |
| CIE-LCH | lch(13.06, 27.69, 348.33°) |
| OKLab | oklab(26.16% 0.0827 -0.0146) |
| OKLCH | oklch(26.16% 0.084 350) |
| XYZ | xyz(2.6894, 1.5715, 2.3517) |
| Luminance | 0.0157 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Plum
#3F012C
ΔE00 3.55
Aubergine
#3D0734
ΔE00 5.20
Eggplant
#380835
ΔE00 6.43
Plum (survey)
#580F41
ΔE00 6.55
Eggplant Purple
#430541
ΔE00 8.33
Deep Violet
#490648
ΔE00 9.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#400E2A #0E4024
analogous
#3D0E40 #400E2A #400E11
triadic
#400E2A #2A400E #0E2A40
tetradic
#400E2A #403D0E #0E4024 #0E1140
square
#400E2A #403D0E #0E4024 #0E1140
split-complementary
#400E2A #11400E #0E403D
monochromatic
#190510 #190510 #400E2A #72194B #A4246C
Accessibility & contrast
On white
15.98
#400E2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.31
#400E2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #400E2A
15.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##400E2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##400E2A | 1.00 | 15.98 | 1.31 | 15.98 |
| #FFFFFF | 15.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#151C2B
Deuteranopia (green-blind)
#242529
Tritanopia (blue-blind)
#450B1A
Achromatopsia (no color)
#222222
Design tokens & code
CSS
--color: #400e2a; /* rgb */ color: rgb(64, 14, 42); /* oklch */ color: oklch(26.2% 0.084 350.0);
Tailwind
colors: {
custom: {
50: '#775163',
500: '#400e2a',
950: '#000000',
},
}SCSS
$custom: #400e2a; $custom-light: #775163; $custom-dark: #000000;
JSON
{
"hex": "#400e2a",
"rgb": {
"r": 64,
"g": 14,
"b": 42
},
"hsl": {
"h": 326.4,
"s": 64.103,
"l": 15.294
},
"oklch": {
"l": 0.26155,
"c": 0.08393,
"h": 350
},
"luminance": 0.01571
}Semantic roles & 50–950 ramp
primary
#400E2A
secondary
#2F7B50
accent
#E78A41
background
#F7F4F5
surface
#EDE7EA
border
#C8C3C6
text
#090205
muted
#7B7879