Color #281724
A muted very dark magenta.
Conversions
#281724
rgb(40, 23, 36)
hsl(314.1, 27%, 12.4%)
hsv(314.1, 42.5%, 15.7%)
cmyk(0%, 42.5%, 10%, 84.3%)
lab(10.49, 11.22, -5.46)
lch(10.49, 12.48, 334.05)
oklch(23.3%, 0.0354, 335.61)
hwb(314.1, 9%, 84.3%)
Harmony colors
Accessibility
White text reads better on this background (16.96:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#222221 · ΔE 13.6
Deuteranopia
#232421 · ΔE 15.9
Tritanopia
#271f1e · ΔE 9.6
Achromatopsia
#1c1c1c · ΔE 12.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #281724;
bg-[#281724]
Related colors
Frequently asked questions
#281724 (#281724) is rgb(40, 23, 36) in RGB.
No, #281724 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 #281724, or check how it holds up for accessibility.