#40091F#40091F
#40091F is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.1% C 0.085 H 1.6°. Best body text is #FFFFFF at 16.45:1 contrast (WCAG AA passes).
Color values
| HEX | #40091F |
|---|---|
| RGB | rgb(64, 9, 31) |
| HSL | hsl(336, 75%, 14%) |
| HSV | hsv(336, 86%, 25%) |
| CMYK | cmyk(0%, 85.9%, 51.6%, 74.9%) |
| CIE-LAB | lab(11.85, 27.83, 0.80) |
| CIE-LCH | lch(11.85, 27.84, 1.64°) |
| OKLab | oklab(25.13% 0.0854 0.0024) |
| OKLCH | oklch(25.13% 0.085 1.6) |
| XYZ | xyz(2.4596, 1.3846, 1.4338) |
| Luminance | 0.0138 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Maroon
#3C0008
ΔE00 6.59
Dark Plum
#3F012C
ΔE00 6.64
Burgundy (survey)
#610023
ΔE00 7.96
Aubergine
#3D0734
ΔE00 8.94
Maroon (survey)
#650021
ΔE00 9.31
Plum (survey)
#580F41
ΔE00 9.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40091F #09402A
analogous
#40093B #40091F #400F09
triadic
#40091F #1F4009 #091F40
tetradic
#40091F #3B4009 #09402A #0F0940
square
#40091F #3B4009 #09402A #0F0940
split-complementary
#40091F #09400F #093B40
monochromatic
#1B040D #1B040D #40091F #761139 #AB1853
Accessibility & contrast
On white
16.45
#40091F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.28
#40091F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40091F
16.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40091F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40091F | 1.00 | 16.45 | 1.28 | 16.45 |
| #FFFFFF | 16.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#161820
Deuteranopia (green-blind)
#24231E
Tritanopia (blue-blind)
#460213
Achromatopsia (no color)
#1F1F1F
Design tokens & code
CSS
--color: #40091f; /* rgb */ color: rgb(64, 9, 31); /* oklch */ color: oklch(25.1% 0.085 1.6);
Tailwind
colors: {
custom: {
50: '#784e5a',
500: '#40091f',
950: '#000000',
},
}SCSS
$custom: #40091f; $custom-light: #784e5a; $custom-dark: #000000;
JSON
{
"hex": "#40091f",
"rgb": {
"r": 64,
"g": 9,
"b": 31
},
"hsl": {
"h": 336,
"s": 75.342,
"l": 14.314
},
"oklch": {
"l": 0.25129,
"c": 0.0854,
"h": 1.6
},
"luminance": 0.01384
}Semantic roles & 50–950 ramp
primary
#40091F
secondary
#277E5B
accent
#F2A736
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090203
muted
#7B7878