Color #281821
A muted very dark magenta.
Conversions
#281821
rgb(40, 24, 33)
hsl(326.3, 25%, 12.5%)
hsv(326.3, 40%, 15.7%)
cmyk(0%, 40%, 17.5%, 84.3%)
lab(10.66, 9.83, -2.97)
lch(10.66, 10.27, 343.19)
oklch(23.4%, 0.0299, 344.9)
hwb(326.3, 9.4%, 84.3%)
Harmony colors
Accessibility
White text reads better on this background (16.9:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#22221f · ΔE 13.5
Deuteranopia
#23241f · ΔE 15.6
Tritanopia
#271d1d · ΔE 6.3
Achromatopsia
#1d1d1d · ΔE 11.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #281821;
bg-[#281821]
Related colors
Frequently asked questions
#281821 (#281821) is rgb(40, 24, 33) in RGB.
No, #281821 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 #281821, or check how it holds up for accessibility.