#40071A#40071A
#40071A is a very dark, moderate pink. Relative luminance 0.013; OKLCH L 24.7% C 0.086 H 6.7°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).
Color values
| HEX | #40071A |
|---|---|
| RGB | rgb(64, 7, 26) |
| HSL | hsl(340, 80%, 14%) |
| HSV | hsv(340, 89%, 25%) |
| CMYK | cmyk(0%, 89.1%, 59.4%, 74.9%) |
| CIE-LAB | lab(11.39, 28.14, 3.91) |
| CIE-LCH | lch(11.39, 28.41, 7.92°) |
| OKLab | oklab(24.74% 0.0859 0.0101) |
| OKLCH | oklch(24.74% 0.087 6.7) |
| XYZ | xyz(2.3770, 1.3169, 1.1061) |
| Luminance | 0.0132 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Maroon
#3C0008
ΔE00 4.62
Burgundy (survey)
#610023
ΔE00 7.21
Deep Brown
#410200
ΔE00 7.96
Maroon (survey)
#650021
ΔE00 8.33
Dark Plum
#3F012C
ΔE00 8.51
Dried Blood
#4B0101
ΔE00 9.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40071A #07402D
analogous
#400737 #40071A #401107
triadic
#40071A #1A4007 #071A40
tetradic
#40071A #374007 #07402D #110740
square
#40071A #374007 #07402D #110740
split-complementary
#40071A #074011 #073740
monochromatic
#1C030B #1C030B #40071A #770D30 #AE1347
Accessibility & contrast
On white
16.62
#40071A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.26
#40071A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40071A
16.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40071A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40071A | 1.00 | 16.62 | 1.26 | 16.62 |
| #FFFFFF | 16.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#16171A
Deuteranopia (green-blind)
#252219
Tritanopia (blue-blind)
#47000F
Achromatopsia (no color)
#1E1E1E
Design tokens & code
CSS
--color: #40071a; /* rgb */ color: rgb(64, 7, 26); /* oklch */ color: oklch(24.7% 0.086 6.7);
Tailwind
colors: {
custom: {
50: '#794d56',
500: '#40071a',
950: '#000000',
},
}SCSS
$custom: #40071a; $custom-light: #794d56; $custom-dark: #000000;
JSON
{
"hex": "#40071a",
"rgb": {
"r": 64,
"g": 7,
"b": 26
},
"hsl": {
"h": 340,
"s": 80.282,
"l": 13.922
},
"oklch": {
"l": 0.24735,
"c": 0.0865,
"h": 6.7
},
"luminance": 0.01317
}Semantic roles & 50–950 ramp
primary
#40071A
secondary
#247F61
accent
#F7B531
background
#F7F4F5
surface
#EEE7E8
border
#C9C3C4
text
#0A0203
muted
#7C7878