Color #401a1f
A moderately saturated very dark red.
Conversions
#401a1f
rgb(64, 26, 31)
hsl(352.1, 42.2%, 17.6%)
hsv(352.1, 59.4%, 25.1%)
cmyk(0%, 59.4%, 51.6%, 74.9%)
lab(15.1, 19.08, 5.43)
lch(15.1, 19.84, 15.89)
oklch(27.6%, 0.0594, 13.64)
hwb(352.1, 10.2%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (15.16:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#33331e · ΔE 26.7
Deuteranopia
#35381e · ΔE 29.5
Tritanopia
#3f1d1d · ΔE 2.5
Achromatopsia
#262626 · ΔE 17.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #401a1f;
bg-[#401a1f]
Related colors
Frequently asked questions
#401a1f (#401a1f) is rgb(64, 26, 31) in RGB.
No, #401a1f is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #401a1f, or check how it holds up for accessibility.