Color #281421
A muted very dark magenta.
Conversions
#281421
rgb(40, 20, 33)
hsl(321, 33.3%, 11.8%)
hsv(321, 50%, 15.7%)
cmyk(0%, 50%, 17.5%, 84.3%)
lab(9.49, 12.68, -4.72)
lch(9.49, 13.53, 339.58)
oklch(22.5%, 0.0393, 341.29)
hwb(321, 7.8%, 84.3%)
Harmony colors
Accessibility
White text reads better on this background (17.32:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#21211e · ΔE 16.1
Deuteranopia
#22231e · ΔE 18.3
Tritanopia
#271c1c · ΔE 8.5
Achromatopsia
#1a1a1a · ΔE 13.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #281421;
bg-[#281421]
Related colors
Frequently asked questions
#281421 (#281421) is rgb(40, 20, 33) in RGB.
No, #281421 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 #281421, or check how it holds up for accessibility.