Color #2e171c
A muted very dark red.
Conversions
#2e171c
rgb(46, 23, 28)
hsl(347, 33.3%, 13.5%)
hsv(347, 50%, 18%)
cmyk(0%, 50%, 39.1%, 82%)
lab(11.12, 12.39, 1.54)
lch(11.12, 12.49, 7.09)
oklch(23.9%, 0.0378, 6.37)
hwb(347, 9%, 82%)
Harmony colors
Accessibility
White text reads better on this background (16.73:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#26261b · ΔE 19.2
Deuteranopia
#27291b · ΔE 21.9
Tritanopia
#2d1a1a · ΔE 3.3
Achromatopsia
#1e1e1e · ΔE 13.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2e171c;
bg-[#2e171c]
Related colors
Frequently asked questions
#2e171c (#2e171c) is rgb(46, 23, 28) in RGB.
No, #2e171c 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 #2e171c, or check how it holds up for accessibility.