Color #28101f
A moderately saturated very dark magenta.
Conversions
#28101f
rgb(40, 16, 31)
hsl(322.5, 42.9%, 11%)
hsv(322.5, 60%, 15.7%)
cmyk(0%, 60%, 22.5%, 84.3%)
lab(8.31, 15.01, -4.99)
lch(8.31, 15.82, 341.61)
oklch(21.6%, 0.0464, 343.48)
hwb(322.5, 6.3%, 84.3%)
Harmony colors
Accessibility
White text reads better on this background (17.73:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#20201c · ΔE 18.5
Deuteranopia
#21231b · ΔE 22.7
Tritanopia
#271919 · ΔE 9
Achromatopsia
#181818 · ΔE 15.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #28101f;
bg-[#28101f]
Related colors
Frequently asked questions
#28101f (#28101f) is rgb(40, 16, 31) in RGB.
No, #28101f is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #28101f, or check how it holds up for accessibility.