#400536#400536
#400536 is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.9% C 0.105 H 336.4°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).
Color values
| HEX | #400536 |
|---|---|
| RGB | rgb(64, 5, 54) |
| HSL | hsl(310, 86%, 14%) |
| HSV | hsv(310, 92%, 25%) |
| CMYK | cmyk(0%, 92.2%, 15.6%, 74.9%) |
| CIE-LAB | lab(12.38, 32.71, -15.39) |
| CIE-LCH | lch(12.38, 36.15, 334.80°) |
| OKLab | oklab(25.87% 0.0963 -0.042) |
| OKLCH | oklch(25.87% 0.105 336.4) |
| XYZ | xyz(2.8345, 1.4651, 3.6228) |
| Luminance | 0.0146 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Aubergine
#3D0734
ΔE00 0.86
Eggplant
#380835
ΔE00 2.15
Eggplant Purple
#430541
ΔE00 2.94
Dark Plum
#3F012C
ΔE00 2.95
Deep Violet
#490648
ΔE00 4.26
Dark Purple
#35063E
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#400536 #05400F
analogous
#2C0540 #400536 #400518
triadic
#400536 #364005 #053640
tetradic
#400536 #402C05 #05400F #051840
square
#400536 #402C05 #05400F #051840
split-complementary
#400536 #184005 #05402C
monochromatic
#1C0218 #1C0218 #400536 #790966 #B20E96
Accessibility & contrast
On white
16.24
#400536 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.29
#400536 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #400536
16.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##400536 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##400536 | 1.00 | 16.24 | 1.29 | 16.24 |
| #FFFFFF | 16.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#061B37
Deuteranopia (green-blind)
#1C2335
Tritanopia (blue-blind)
#44091D
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #400536; /* rgb */ color: rgb(64, 5, 54); /* oklch */ color: oklch(25.9% 0.105 336.4);
Tailwind
colors: {
custom: {
50: '#784e6d',
500: '#400536',
950: '#000000',
},
}SCSS
$custom: #400536; $custom-light: #784e6d; $custom-dark: #000000;
JSON
{
"hex": "#400536",
"rgb": {
"r": 64,
"g": 5,
"b": 54
},
"hsl": {
"h": 310.169,
"s": 85.507,
"l": 13.529
},
"oklch": {
"l": 0.25873,
"c": 0.10507,
"h": 336.4
},
"luminance": 0.01465
}Semantic roles & 50–950 ramp
primary
#400536
secondary
#208131
accent
#FC4F2C
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090207
muted
#7B787A