#40131F#40131F
#40131F is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.4% C 0.071 H 6.9°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).
Color values
| HEX | #40131F |
|---|---|
| RGB | rgb(64, 19, 31) |
| HSL | hsl(344, 54%, 16%) |
| HSV | hsv(344, 70%, 25%) |
| CMYK | cmyk(0%, 70.3%, 51.6%, 74.9%) |
| CIE-LAB | lab(13.56, 23.13, 3.25) |
| CIE-LCH | lch(13.56, 23.36, 8.00°) |
| OKLab | oklab(26.39% 0.0704 0.0086) |
| OKLCH | oklch(26.39% 0.071 6.9) |
| XYZ | xyz(2.5947, 1.6550, 1.4789) |
| Luminance | 0.0165 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Maroon
#3C0008
ΔE00 5.96
Burgundy (survey)
#610023
ΔE00 8.38
Deep Brown
#410200
ΔE00 8.55
Dark Plum
#3F012C
ΔE00 9.14
Maroon (survey)
#650021
ΔE00 9.35
Dried Blood
#4B0101
ΔE00 10.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40131F #134034
analogous
#401336 #40131F #401E13
triadic
#40131F #1F4013 #131F40
tetradic
#40131F #364013 #134034 #1E1340
square
#40131F #364013 #134034 #1E1340
split-complementary
#40131F #13401E #133640
monochromatic
#18070B #18070B #40131F #6F2136 #9E2F4D
Accessibility & contrast
On white
15.78
#40131F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.33
#40131F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40131F
15.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40131F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40131F | 1.00 | 15.78 | 1.33 | 15.78 |
| #FFFFFF | 15.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C1D1F
Deuteranopia (green-blind)
#28261E
Tritanopia (blue-blind)
#460D18
Achromatopsia (no color)
#232323
Design tokens & code
CSS
--color: #40131f; /* rgb */ color: rgb(64, 19, 31); /* oklch */ color: oklch(26.4% 0.071 6.9);
Tailwind
colors: {
custom: {
50: '#78535a',
500: '#40131f',
950: '#000000',
},
}SCSS
$custom: #40131f; $custom-light: #78535a; $custom-dark: #000000;
JSON
{
"hex": "#40131f",
"rgb": {
"r": 64,
"g": 19,
"b": 31
},
"hsl": {
"h": 344,
"s": 54.217,
"l": 16.275
},
"oklch": {
"l": 0.26394,
"c": 0.07094,
"h": 6.9
},
"luminance": 0.01655
}Semantic roles & 50–950 ramp
primary
#40131F
secondary
#367967
accent
#DEB64A
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090203
muted
#7B7878