Color #312427
A muted very dark red.
Conversions
#312427
rgb(49, 36, 39)
hsl(346.2, 15.3%, 16.7%)
hsv(346.2, 26.5%, 19.2%)
cmyk(0%, 26.5%, 20.4%, 80.8%)
lab(15.81, 6.76, 0.38)
lch(15.81, 6.77, 3.22)
oklch(27.7%, 0.0203, 3.1)
hwb(346.2, 14.1%, 80.8%)
Harmony colors
Accessibility
White text reads better on this background (14.87:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2c2c26 · ΔE 11.5
Deuteranopia
#2d2e26 · ΔE 13.2
Tritanopia
#302626 · ΔE 2.6
Achromatopsia
#272727 · ΔE 8.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #312427;
bg-[#312427]
Related colors
Frequently asked questions
#312427 (#312427) is rgb(49, 36, 39) in RGB.
No, #312427 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 #312427, or check how it holds up for accessibility.