#400E2D#400E2D
#400E2D is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.3% C 0.086 H 346.5°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).
Color values
| HEX | #400E2D |
|---|---|
| RGB | rgb(64, 14, 45) |
| HSL | hsl(323, 64%, 15%) |
| HSV | hsv(323, 78%, 25%) |
| CMYK | cmyk(0%, 78.1%, 29.7%, 74.9%) |
| CIE-LAB | lab(13.19, 27.58, -7.59) |
| CIE-LCH | lch(13.19, 28.61, 344.61°) |
| OKLab | oklab(26.3% 0.0835 -0.0201) |
| OKLCH | oklch(26.3% 0.086 346.5) |
| XYZ | xyz(2.7452, 1.5938, 2.6452) |
| Luminance | 0.0159 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Plum
#3F012C
ΔE00 2.81
Aubergine
#3D0734
ΔE00 4.08
Eggplant
#380835
ΔE00 5.32
Plum (survey)
#580F41
ΔE00 5.92
Eggplant Purple
#430541
ΔE00 7.20
Deep Violet
#490648
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#400E2D #0E4021
analogous
#3A0E40 #400E2D #400E14
triadic
#400E2D #2D400E #0E2D40
tetradic
#400E2D #403A0E #0E4021 #0E1440
square
#400E2D #403A0E #0E4021 #0E1440
split-complementary
#400E2D #14400E #0E403A
monochromatic
#190512 #190512 #400E2D #721950 #A42474
Accessibility & contrast
On white
15.92
#400E2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.32
#400E2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #400E2D
15.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##400E2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##400E2D | 1.00 | 15.92 | 1.32 | 15.92 |
| #FFFFFF | 15.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#141C2E
Deuteranopia (green-blind)
#23252C
Tritanopia (blue-blind)
#450D1B
Achromatopsia (no color)
#222222
Design tokens & code
CSS
--color: #400e2d; /* rgb */ color: rgb(64, 14, 45); /* oklch */ color: oklch(26.3% 0.086 346.5);
Tailwind
colors: {
custom: {
50: '#775165',
500: '#400e2d',
950: '#000000',
},
}SCSS
$custom: #400e2d; $custom-light: #775165; $custom-dark: #000000;
JSON
{
"hex": "#400e2d",
"rgb": {
"r": 64,
"g": 14,
"b": 45
},
"hsl": {
"h": 322.8,
"s": 64.103,
"l": 15.294
},
"oklch": {
"l": 0.263,
"c": 0.08592,
"h": 346.5
},
"luminance": 0.01594
}Semantic roles & 50–950 ramp
primary
#400E2D
secondary
#2F7B4C
accent
#E78041
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090205
muted
#7B787A