#40091C#40091C
#40091C is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.0% C 0.084 H 5.2°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).
Color values
| HEX | #40091C |
|---|---|
| RGB | rgb(64, 9, 28) |
| HSL | hsl(339, 75%, 14%) |
| HSV | hsv(339, 86%, 25%) |
| CMYK | cmyk(0%, 85.9%, 56.2%, 74.9%) |
| CIE-LAB | lab(11.75, 27.51, 2.91) |
| CIE-LCH | lch(11.75, 27.66, 6.04°) |
| OKLab | oklab(25.02% 0.0841 0.0077) |
| OKLCH | oklch(25.02% 0.084 5.2) |
| XYZ | xyz(2.4219, 1.3695, 1.2352) |
| Luminance | 0.0137 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Maroon
#3C0008
ΔE00 5.29
Burgundy (survey)
#610023
ΔE00 7.47
Dark Plum
#3F012C
ΔE00 7.97
Deep Brown
#410200
ΔE00 8.59
Maroon (survey)
#650021
ΔE00 8.66
Dried Blood
#4B0101
ΔE00 10.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40091C #09402D
analogous
#400938 #40091C #401209
triadic
#40091C #1C4009 #091C40
tetradic
#40091C #384009 #09402D #120940
square
#40091C #384009 #09402D #120940
split-complementary
#40091C #094012 #093840
monochromatic
#1B040C #1B040C #40091C #761133 #AB184B
Accessibility & contrast
On white
16.49
#40091C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.27
#40091C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40091C
16.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40091C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40091C | 1.00 | 16.49 | 1.27 | 16.49 |
| #FFFFFF | 16.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#17181C
Deuteranopia (green-blind)
#25231B
Tritanopia (blue-blind)
#460111
Achromatopsia (no color)
#1F1F1F
Design tokens & code
CSS
--color: #40091c; /* rgb */ color: rgb(64, 9, 28); /* oklch */ color: oklch(25.0% 0.084 5.2);
Tailwind
colors: {
custom: {
50: '#794e57',
500: '#40091c',
950: '#000000',
},
}SCSS
$custom: #40091c; $custom-light: #794e57; $custom-dark: #000000;
JSON
{
"hex": "#40091c",
"rgb": {
"r": 64,
"g": 9,
"b": 28
},
"hsl": {
"h": 339.273,
"s": 75.342,
"l": 14.314
},
"oklch": {
"l": 0.25021,
"c": 0.08443,
"h": 5.2
},
"luminance": 0.01369
}Semantic roles & 50–950 ramp
primary
#40091C
secondary
#277E60
accent
#F2B136
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090203
muted
#7B7878