#40111E#40111E
#40111E is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.1% C 0.074 H 6.9°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).
Color values
| HEX | #40111E |
|---|---|
| RGB | rgb(64, 17, 30) |
| HSL | hsl(343, 58%, 16%) |
| HSV | hsv(343, 73%, 25%) |
| CMYK | cmyk(0%, 73.4%, 53.1%, 74.9%) |
| CIE-LAB | lab(13.14, 24.07, 3.39) |
| CIE-LCH | lch(13.14, 24.31, 8.01°) |
| OKLab | oklab(26.07% 0.0733 0.0089) |
| OKLCH | oklch(26.07% 0.074 6.9) |
| XYZ | xyz(2.5493, 1.5849, 1.3997) |
| Luminance | 0.0158 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Maroon
#3C0008
ΔE00 5.60
Burgundy (survey)
#610023
ΔE00 8.09
Deep Brown
#410200
ΔE00 8.36
Dark Plum
#3F012C
ΔE00 8.96
Maroon (survey)
#650021
ΔE00 9.09
Dried Blood
#4B0101
ΔE00 10.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40111E #114033
analogous
#401135 #40111E #401B11
triadic
#40111E #1E4011 #111E40
tetradic
#40111E #354011 #114033 #1B1140
square
#40111E #354011 #114033 #1B1140
split-complementary
#40111E #11401B #113540
monochromatic
#18060B #18060B #40111E #701E35 #A12B4B
Accessibility & contrast
On white
15.95
#40111E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.32
#40111E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40111E
15.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40111E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40111E | 1.00 | 15.95 | 1.32 | 15.95 |
| #FFFFFF | 15.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B1C1E
Deuteranopia (green-blind)
#27251D
Tritanopia (blue-blind)
#460A16
Achromatopsia (no color)
#222222
Design tokens & code
CSS
--color: #40111e; /* rgb */ color: rgb(64, 17, 30); /* oklch */ color: oklch(26.1% 0.074 6.9);
Tailwind
colors: {
custom: {
50: '#785259',
500: '#40111e',
950: '#000000',
},
}SCSS
$custom: #40111e; $custom-light: #785259; $custom-dark: #000000;
JSON
{
"hex": "#40111e",
"rgb": {
"r": 64,
"g": 17,
"b": 30
},
"hsl": {
"h": 343.404,
"s": 58.025,
"l": 15.882
},
"oklch": {
"l": 0.26068,
"c": 0.07385,
"h": 6.9
},
"luminance": 0.01585
}Semantic roles & 50–950 ramp
primary
#40111E
secondary
#337966
accent
#E1B647
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090203
muted
#7B7878