Color #40383c
A nearly neutral, gray-leaning dark pink.
Conversions
#40383c
rgb(64, 56, 60)
hsl(330, 6.7%, 23.5%)
hsv(330, 12.5%, 25.1%)
cmyk(0%, 12.5%, 6.2%, 74.9%)
lab(24.46, 4.35, -1.2)
lch(24.46, 4.51, 344.58)
oklch(35.1%, 0.013, 346.18)
hwb(330, 22%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (11.36:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3d3d3b · ΔE 7
Deuteranopia
#3d3e3b · ΔE 8.1
Tritanopia
#403a3a · ΔE 2.9
Achromatopsia
#3a3a3a · ΔE 5.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #40383c;
bg-[#40383c]
Related colors
Frequently asked questions
#40383c (#40383c) is rgb(64, 56, 60) in RGB.
No, #40383c 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 #40383c, or check how it holds up for accessibility.