Color #343131
A nearly neutral, gray-leaning very dark red.
Conversions
#343131
rgb(52, 49, 49)
hsl(0, 3%, 19.8%)
hsv(0, 5.8%, 20.4%)
cmyk(0%, 5.8%, 5.8%, 79.6%)
lab(20.63, 1.33, 0.48)
lch(20.63, 1.41, 19.84)
oklch(31.6%, 0.0043, 17.59)
hwb(0, 19.2%, 79.6%)
Harmony colors
Accessibility
White text reads better on this background (12.89:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#333331 · ΔE 2.8
Deuteranopia
#333331 · ΔE 2.8
Tritanopia
#343131 · ΔE 0
Achromatopsia
#323232 · ΔE 2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #343131;
bg-[#343131]
Related colors
Frequently asked questions
#343131 (#343131) is rgb(52, 49, 49) in RGB.
No, #343131 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 #343131, or check how it holds up for accessibility.