#400C2E#400C2E
#400C2E is a dark, moderate pink. Relative luminance 0.015; OKLCH L 26.1% C 0.090 H 345.0°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).
Color values
| HEX | #400C2E |
|---|---|
| RGB | rgb(64, 12, 46) |
| HSL | hsl(321, 68%, 15%) |
| HSV | hsv(321, 81%, 25%) |
| CMYK | cmyk(0%, 81.2%, 28.1%, 74.9%) |
| CIE-LAB | lab(12.93, 28.62, -8.73) |
| CIE-LCH | lch(12.93, 29.92, 343.03°) |
| OKLab | oklab(26.12% 0.0865 -0.0232) |
| OKLCH | oklch(26.12% 0.09 345) |
| XYZ | xyz(2.7391, 1.5505, 2.7393) |
| Luminance | 0.0155 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Plum
#3F012C
ΔE00 2.17
Aubergine
#3D0734
ΔE00 3.37
Eggplant
#380835
ΔE00 4.70
Plum (survey)
#580F41
ΔE00 5.60
Eggplant Purple
#430541
ΔE00 6.50
Deep Violet
#490648
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#400C2E #0C401E
analogous
#380C40 #400C2E #400C14
triadic
#400C2E #2E400C #0C2E40
tetradic
#400C2E #40380C #0C401E #0C1440
square
#400C2E #40380C #0C401E #0C1440
split-complementary
#400C2E #14400C #0C4038
monochromatic
#1A0513 #1A0513 #400C2E #741653 #A71F78
Accessibility & contrast
On white
16.03
#400C2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.31
#400C2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #400C2E
16.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##400C2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##400C2E | 1.00 | 16.03 | 1.31 | 16.03 |
| #FFFFFF | 16.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#121C2F
Deuteranopia (green-blind)
#22252D
Tritanopia (blue-blind)
#450B1B
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #400c2e; /* rgb */ color: rgb(64, 12, 46); /* oklch */ color: oklch(26.1% 0.090 345.0);
Tailwind
colors: {
custom: {
50: '#775066',
500: '#400c2e',
950: '#000000',
},
}SCSS
$custom: #400c2e; $custom-light: #775066; $custom-dark: #000000;
JSON
{
"hex": "#400c2e",
"rgb": {
"r": 64,
"g": 12,
"b": 46
},
"hsl": {
"h": 320.769,
"s": 68.421,
"l": 14.902
},
"oklch": {
"l": 0.2612,
"c": 0.08958,
"h": 345
},
"luminance": 0.0155
}Semantic roles & 50–950 ramp
primary
#400C2E
secondary
#2C7C48
accent
#EB793D
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A