Color #400a07
A vivid, highly saturated very dark red.
Conversions
#400a07
rgb(64, 10, 7)
hsl(3.2, 80.3%, 13.9%)
hsv(3.2, 89.1%, 25.1%)
cmyk(0%, 84.4%, 89.1%, 74.9%)
lab(11.43, 25.56, 14.89)
lch(11.43, 29.58, 30.22)
oklch(24.6%, 0.0831, 28.38)
hwb(3.2, 2.7%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (16.61:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#313008 · ΔE 28.3
Deuteranopia
#333608 · ΔE 30.9
Tritanopia
#3e0808 · ΔE 1.2
Achromatopsia
#1e1e1e · ΔE 20.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #400a07;
bg-[#400a07]
Related colors
Frequently asked questions
#400a07 (#400a07) is rgb(64, 10, 7) in RGB.
No, #400a07 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 #400a07, or check how it holds up for accessibility.