Hex Color Code #221522 — RGB & HSL Conversions
How to use the #221522 color code in HTML & CSS?
To apply the hex color #221522 in web design, set the color property inside your CSS stylesheet. For example, adding background-color: #221522; will paint elements in this cool undertone shade. In modern CSS structures, you can configure it as a custom variable --color-hex: #221522; or utilize it directly in Tailwind CSS via arbitrary utility values like bg-[#221522].
What are the RGB and HSL conversion values for #221522?
In the digital sRGB color space, the hex value #221522 is converted to RGB values of Red: 34, Green: 21, and Blue: 34. When analyzed under the HSL model, its coordinates correspond to hue angle 300°, 24% saturation, and 11% lightness. This makes it visually an extremely deep, dark shade with a soft, understated pastel shade.
CMYK print code settings for #221522
When converting #221522 for CMYK printing, the color separation consists of 0% Cyan, 38% Magenta, 0% Yellow, and 87% key/black. These neutral color boundaries serve as solid structural backgrounds, layouts, and typography grids.
HEX #221522 Color Space Conversions
Click to copy formatContrast & Accessibility (WCAG 2.1) Check
White text readability test with #221522
Small body copy preview
Black text readability test with #221522
Small body copy preview
Complementary & Analogous Harmonies
Perfect matching color schemes for your designsShades & Tints Generator Matrix
Copy shade hex values instantlyDarker Shades (Adding Black)
Lighter Tints (Adding White)
CSS Custom Properties (Variables)
--color-hex: #221522;
--color-rgb: rgb(34, 21, 34);
--color-hsl: hsl(300deg, 24%, 11%);