#400F2F#400F2F
#400F2F is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.5% C 0.086 H 344.4°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).
Color values
| HEX | #400F2F |
|---|---|
| RGB | rgb(64, 15, 47) |
| HSL | hsl(321, 62%, 15%) |
| HSV | hsv(321, 77%, 25%) |
| CMYK | cmyk(0%, 76.6%, 26.6%, 74.9%) |
| CIE-LAB | lab(13.46, 27.43, -8.65) |
| CIE-LCH | lch(13.46, 28.76, 342.50°) |
| OKLab | oklab(26.52% 0.0827 -0.023) |
| OKLCH | oklch(26.52% 0.086 344.4) |
| XYZ | xyz(2.7984, 1.6372, 2.8574) |
| Luminance | 0.0164 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Plum
#3F012C
ΔE00 2.78
Aubergine
#3D0734
ΔE00 3.57
Eggplant
#380835
ΔE00 4.78
Plum (survey)
#580F41
ΔE00 5.70
Eggplant Purple
#430541
ΔE00 6.66
Deep Violet
#490648
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#400F2F #0F4020
analogous
#380F40 #400F2F #400F17
triadic
#400F2F #2F400F #0F2F40
tetradic
#400F2F #40380F #0F4020 #0F1740
square
#400F2F #40380F #0F4020 #0F1740
split-complementary
#400F2F #17400F #0F4038
monochromatic
#190612 #190612 #400F2F #721B53 #A32678
Accessibility & contrast
On white
15.82
#400F2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.33
#400F2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #400F2F
15.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##400F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##400F2F | 1.00 | 15.82 | 1.33 | 15.82 |
| #FFFFFF | 15.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#141D30
Deuteranopia (green-blind)
#23252E
Tritanopia (blue-blind)
#450F1D
Achromatopsia (no color)
#222222
Design tokens & code
CSS
--color: #400f2f; /* rgb */ color: rgb(64, 15, 47); /* oklch */ color: oklch(26.5% 0.086 344.4);
Tailwind
colors: {
custom: {
50: '#775267',
500: '#400f2f',
950: '#000000',
},
}SCSS
$custom: #400f2f; $custom-light: #775267; $custom-dark: #000000;
JSON
{
"hex": "#400f2f",
"rgb": {
"r": 64,
"g": 15,
"b": 47
},
"hsl": {
"h": 320.816,
"s": 62.025,
"l": 15.49
},
"oklch": {
"l": 0.26523,
"c": 0.0858,
"h": 344.4
},
"luminance": 0.01637
}Semantic roles & 50–950 ramp
primary
#400F2F
secondary
#307A4A
accent
#E57B43
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A