Hex Color Code #A5212A — RGB & HSL Conversions
How to use the #A5212A color code in HTML & CSS?
To apply the hex color #A5212A in web design, set the color property inside your CSS stylesheet. For example, adding background-color: #A5212A; will paint elements in this warm undertone shade. In modern CSS structures, you can configure it as a custom variable --color-hex: #A5212A; or utilize it directly in Tailwind CSS via arbitrary utility values like bg-[#A5212A].
What are the RGB and HSL conversion values for #A5212A?
In the digital sRGB color space, the hex value #A5212A is converted to RGB values of Red: 165, Green: 33, and Blue: 42. When analyzed under the HSL model, its coordinates correspond to hue angle 356°, 67% saturation, and 39% lightness. This makes it visually a balanced medium tone with a balanced, moderate saturation.
CMYK print code settings for #A5212A
When converting #A5212A for CMYK printing, the color separation consists of 0% Cyan, 80% Magenta, 75% Yellow, and 35% key/black. Given its red-channel dominance, this color is a powerful visual stimulator often deployed in banners, call-to-actions, and warning components.
HEX #A5212A Color Space Conversions
Click to copy formatContrast & Accessibility (WCAG 2.1) Check
White text readability test with #A5212A
Small body copy preview
Black text readability test with #A5212A
Small body copy preview
Complementary & Analogous Harmonies
Computed dynamicallyShades & Tints Generator Matrix
Copy shade hex values instantlyDarker Shades (Adding Black)
Lighter Tints (Adding White)
CSS Custom Properties (Variables)
--color-hex: #A5212A;
--color-rgb: rgb(165, 33, 42);
--color-hsl: hsl(356deg, 67%, 39%);