#400A2B#400A2B
#400A2B is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.8% C 0.090 H 347.9°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).
Color values
| HEX | #400A2B |
|---|---|
| RGB | rgb(64, 10, 43) |
| HSL | hsl(323, 73%, 15%) |
| HSV | hsv(323, 84%, 25%) |
| CMYK | cmyk(0%, 84.4%, 32.8%, 74.9%) |
| CIE-LAB | lab(12.49, 28.98, -7.19) |
| CIE-LCH | lch(12.49, 29.86, 346.06°) |
| OKLab | oklab(25.76% 0.0883 -0.0189) |
| OKLCH | oklch(25.76% 0.09 347.9) |
| XYZ | xyz(2.6591, 1.4818, 2.4310) |
| Luminance | 0.0148 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Plum
#3F012C
ΔE00 2.33
Aubergine
#3D0734
ΔE00 4.19
Eggplant
#380835
ΔE00 5.54
Plum (survey)
#580F41
ΔE00 5.97
Eggplant Purple
#430541
ΔE00 7.33
Deep Violet
#490648
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#400A2B #0A401F
analogous
#3A0A40 #400A2B #400A10
triadic
#400A2B #2B400A #0A2B40
tetradic
#400A2B #403A0A #0A401F #0A1040
square
#400A2B #403A0A #0A401F #0A1040
split-complementary
#400A2B #10400A #0A403A
monochromatic
#1A0412 #1A0412 #400A2B #75124F #AA1B72
Accessibility & contrast
On white
16.20
#400A2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.30
#400A2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #400A2B
16.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##400A2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##400A2B | 1.00 | 16.20 | 1.30 | 16.20 |
| #FFFFFF | 16.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#121B2C
Deuteranopia (green-blind)
#22242A
Tritanopia (blue-blind)
#450819
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #400a2b; /* rgb */ color: rgb(64, 10, 43); /* oklch */ color: oklch(25.8% 0.090 347.9);
Tailwind
colors: {
custom: {
50: '#784f64',
500: '#400a2b',
950: '#000000',
},
}SCSS
$custom: #400a2b; $custom-light: #784f64; $custom-dark: #000000;
JSON
{
"hex": "#400a2b",
"rgb": {
"r": 64,
"g": 10,
"b": 43
},
"hsl": {
"h": 323.333,
"s": 72.973,
"l": 14.51
},
"oklch": {
"l": 0.25757,
"c": 0.09028,
"h": 347.9
},
"luminance": 0.01481
}Semantic roles & 50–950 ramp
primary
#400A2B
secondary
#297D49
accent
#F08038
background
#F7F4F5
surface
#EDE7EA
border
#C8C3C6
text
#090205
muted
#7B7879