#401B1F#401B1F
#401B1F is a dark, muted red. Relative luminance 0.020; OKLCH L 27.7% C 0.058 H 14.8°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).
Color values
| HEX | #401B1F |
|---|---|
| RGB | rgb(64, 27, 31) |
| HSL | hsl(354, 41%, 18%) |
| HSV | hsv(354, 58%, 25%) |
| CMYK | cmyk(0%, 57.8%, 51.6%, 74.9%) |
| CIE-LAB | lab(15.35, 18.46, 5.76) |
| CIE-LCH | lch(15.35, 19.34, 17.34°) |
| OKLab | oklab(27.74% 0.0558 0.0148) |
| OKLCH | oklch(27.74% 0.058 14.8) |
| XYZ | xyz(2.7538, 1.9731, 1.5319) |
| Luminance | 0.0197 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 7.09
Deep Brown
#410200
ΔE00 8.17
Mahogany
#4A0100
ΔE00 9.56
Dried Blood
#4B0101
ΔE00 9.59
Burgundy (survey)
#610023
ΔE00 10.08
Very Dark Brown
#1D0200
ΔE00 10.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#401B1F #1B403C
analogous
#401B31 #401B1F #402A1B
triadic
#401B1F #1F401B #1B1F40
tetradic
#401B1F #31401B #1B403C #2A1B40
square
#401B1F #31401B #1B403C #2A1B40
split-complementary
#401B1F #1B402A #1B3140
monochromatic
#16090A #16090A #401B1F #6B2D34 #963F49
Accessibility & contrast
On white
15.06
#401B1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.39
#401B1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #401B1F
15.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##401B1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##401B1F | 1.00 | 15.06 | 1.39 | 15.06 |
| #FFFFFF | 15.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23221F
Deuteranopia (green-blind)
#2C291E
Tritanopia (blue-blind)
#46161D
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #401b1f; /* rgb */ color: rgb(64, 27, 31); /* oklch */ color: oklch(27.7% 0.058 14.8);
Tailwind
colors: {
custom: {
50: '#77585a',
500: '#401b1f',
950: '#000000',
},
}SCSS
$custom: #401b1f; $custom-light: #77585a; $custom-dark: #000000;
JSON
{
"hex": "#401b1f",
"rgb": {
"r": 64,
"g": 27,
"b": 31
},
"hsl": {
"h": 353.514,
"s": 40.659,
"l": 17.843
},
"oklch": {
"l": 0.27735,
"c": 0.05769,
"h": 14.8
},
"luminance": 0.01973
}Semantic roles & 50–950 ramp
primary
#401B1F
secondary
#417570
accent
#D1C357
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090303
muted
#7B7878