Color #2f282a
A nearly neutral, gray-leaning very dark pink.
Conversions
#2f282a
rgb(47, 40, 42)
hsl(342.9, 8%, 17.1%)
hsv(342.9, 14.9%, 18.4%)
cmyk(0%, 14.9%, 10.6%, 81.6%)
lab(16.94, 3.67, -0.12)
lch(16.94, 3.67, 358.13)
oklch(28.5%, 0.0109, 358.42)
hwb(342.9, 15.7%, 81.6%)
Harmony colors
Accessibility
White text reads better on this background (14.41:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2c2c2a · ΔE 6
Deuteranopia
#2d2d29 · ΔE 7.1
Tritanopia
#2f2929 · ΔE 1.6
Achromatopsia
#2a2a2a · ΔE 4.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f282a;
bg-[#2f282a]
Related colors
Frequently asked questions
#2f282a (#2f282a) is rgb(47, 40, 42) in RGB.
No, #2f282a 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 #2f282a, or check how it holds up for accessibility.