Color #282222
A nearly neutral, gray-leaning very dark red.
Conversions
#282222
rgb(40, 34, 34)
hsl(0, 8.1%, 14.5%)
hsv(0, 15%, 15.7%)
cmyk(0%, 15%, 15%, 84.3%)
lab(13.89, 2.84, 1.04)
lch(13.89, 3.02, 20.11)
oklch(25.9%, 0.0091, 17.84)
hwb(0, 13.3%, 84.3%)
Harmony colors
Accessibility
White text reads better on this background (15.65:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#262522 · ΔE 4.5
Deuteranopia
#262622 · ΔE 5.7
Tritanopia
#282222 · ΔE 0
Achromatopsia
#232323 · ΔE 4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #282222;
bg-[#282222]
Related colors
Frequently asked questions
#282222 (#282222) is rgb(40, 34, 34) in RGB.
No, #282222 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 #282222, or check how it holds up for accessibility.