Color #2e282e
A nearly neutral, gray-leaning very dark magenta.
Conversions
#2e282e
rgb(46, 40, 46)
hsl(300, 7%, 16.9%)
hsv(300, 13%, 18%)
cmyk(0%, 13%, 0%, 82%)
lab(16.97, 4.15, -2.9)
lch(16.97, 5.06, 325.05)
oklch(28.6%, 0.0138, 325.96)
hwb(300, 15.7%, 82%)
Harmony colors
Accessibility
White text reads better on this background (14.39:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2c2b2d · ΔE 4.3
Deuteranopia
#2c2c2c · ΔE 6
Tritanopia
#2e2c2b · ΔE 5.7
Achromatopsia
#2a2a2a · ΔE 5.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2e282e;
bg-[#2e282e]
Related colors
Frequently asked questions
#2e282e (#2e282e) is rgb(46, 40, 46) in RGB.
No, #2e282e 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 #2e282e, or check how it holds up for accessibility.