Color #40231e
A muted very dark red.
Conversions
#40231e
rgb(64, 35, 30)
hsl(8.8, 36.2%, 18.4%)
hsv(8.8, 53.1%, 25.1%)
cmyk(0%, 45.3%, 53.1%, 74.9%)
lab(17.4, 13.19, 9.28)
lch(17.4, 16.13, 35.13)
oklch(29.3%, 0.0457, 30.49)
hwb(8.8, 11.8%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (14.22:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#36351f · ΔE 20.8
Deuteranopia
#373920 · ΔE 23.3
Tritanopia
#3f2020 · ΔE 2.8
Achromatopsia
#2b2b2b · ΔE 14.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #40231e;
bg-[#40231e]
Related colors
Frequently asked questions
#40231e (#40231e) is rgb(64, 35, 30) in RGB.
No, #40231e 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 #40231e, or check how it holds up for accessibility.