Color #22121c
A muted very dark magenta.
Conversions
#22121c
rgb(34, 18, 28)
hsl(322.5, 30.8%, 10.2%)
hsv(322.5, 47.1%, 13.3%)
cmyk(0%, 47.1%, 17.6%, 86.7%)
lab(7.74, 10.29, -3.66)
lch(7.74, 10.92, 340.42)
oklch(20.9%, 0.0317, 342.19)
hwb(322.5, 7.1%, 86.7%)
Harmony colors
Accessibility
White text reads better on this background (17.93:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1c1c1a · ΔE 13.3
Deuteranopia
#1d1e19 · ΔE 16.2
Tritanopia
#211818 · ΔE 7.2
Achromatopsia
#171717 · ΔE 11.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #22121c;
bg-[#22121c]
Related colors
Frequently asked questions
#22121c (#22121c) is rgb(34, 18, 28) in RGB.
No, #22121c 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 #22121c, or check how it holds up for accessibility.