Color #28181a
A muted very dark red.
Conversions
#28181a
rgb(40, 24, 26)
hsl(352.5, 25%, 12.5%)
hsv(352.5, 40%, 15.7%)
cmyk(0%, 40%, 35%, 84.3%)
lab(10.4, 8.42, 1.88)
lch(10.4, 8.63, 12.59)
oklch(23.1%, 0.026, 11.09)
hwb(352.5, 9.4%, 84.3%)
Harmony colors
Accessibility
White text reads better on this background (16.99:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#22221a · ΔE 14
Deuteranopia
#232419 · ΔE 16.1
Tritanopia
#271919 · ΔE 1.6
Achromatopsia
#1c1c1c · ΔE 9.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #28181a;
bg-[#28181a]
Related colors
Frequently asked questions
#28181a (#28181a) is rgb(40, 24, 26) in RGB.
No, #28181a 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 #28181a, or check how it holds up for accessibility.