Color #400f26
A moderately saturated very dark pink.
Conversions
#400f26
rgb(64, 15, 38)
hsl(331.8, 62%, 15.5%)
hsv(331.8, 76.6%, 25.1%)
cmyk(0%, 76.6%, 40.6%, 74.9%)
lab(13.06, 26.08, -2.65)
lch(13.06, 26.21, 354.2)
oklch(26.1%, 0.0801, 355.2)
hwb(331.8, 5.9%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (15.98:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#313122 · ΔE 29.9
Deuteranopia
#343621 · ΔE 33.2
Tritanopia
#3f1e1d · ΔE 9.8
Achromatopsia
#222222 · ΔE 20.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #400f26;
bg-[#400f26]
Related colors
Frequently asked questions
#400f26 (#400f26) is rgb(64, 15, 38) in RGB.
No, #400f26 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 #400f26, or check how it holds up for accessibility.