#400E2B#400E2B
#400E2B is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.2% C 0.085 H 348.8°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).
Color values
| HEX | #400E2B |
|---|---|
| RGB | rgb(64, 14, 43) |
| HSL | hsl(325, 64%, 15%) |
| HSV | hsv(325, 78%, 25%) |
| CMYK | cmyk(0%, 78.1%, 32.8%, 74.9%) |
| CIE-LAB | lab(13.10, 27.27, -6.27) |
| CIE-LCH | lch(13.10, 27.98, 347.06°) |
| OKLab | oklab(26.2% 0.083 -0.0164) |
| OKLCH | oklch(26.2% 0.085 348.8) |
| XYZ | xyz(2.7076, 1.5788, 2.4472) |
| Luminance | 0.0158 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Plum
#3F012C
ΔE00 3.27
Aubergine
#3D0734
ΔE00 4.82
Eggplant
#380835
ΔE00 6.06
Plum (survey)
#580F41
ΔE00 6.33
Eggplant Purple
#430541
ΔE00 7.95
Deep Violet
#490648
ΔE00 8.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#400E2B #0E4023
analogous
#3C0E40 #400E2B #400E12
triadic
#400E2B #2B400E #0E2B40
tetradic
#400E2B #403C0E #0E4023 #0E1240
square
#400E2B #403C0E #0E4023 #0E1240
split-complementary
#400E2B #12400E #0E403C
monochromatic
#190511 #190511 #400E2B #72194D #A4246E
Accessibility & contrast
On white
15.96
#400E2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.32
#400E2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #400E2B
15.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##400E2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##400E2B | 1.00 | 15.96 | 1.32 | 15.96 |
| #FFFFFF | 15.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#151C2C
Deuteranopia (green-blind)
#23252A
Tritanopia (blue-blind)
#450C1A
Achromatopsia (no color)
#222222
Design tokens & code
CSS
--color: #400e2b; /* rgb */ color: rgb(64, 14, 43); /* oklch */ color: oklch(26.2% 0.085 348.8);
Tailwind
colors: {
custom: {
50: '#775164',
500: '#400e2b',
950: '#000000',
},
}SCSS
$custom: #400e2b; $custom-light: #775164; $custom-dark: #000000;
JSON
{
"hex": "#400e2b",
"rgb": {
"r": 64,
"g": 14,
"b": 43
},
"hsl": {
"h": 325.2,
"s": 64.103,
"l": 15.294
},
"oklch": {
"l": 0.26202,
"c": 0.08457,
"h": 348.8
},
"luminance": 0.01578
}Semantic roles & 50–950 ramp
primary
#400E2B
secondary
#2F7B4F
accent
#E78741
background
#F7F4F5
surface
#EDE7EA
border
#C8C3C6
text
#090205
muted
#7B7879