Hex Color Code #A5222A — RGB & HSL Conversions
How to use the #A5222A color code in HTML & CSS?
For developers, implementing the #A5222A color code involves declaring it in your styles. In stylesheet designs, use color: #A5222A; for text alignment. If you are developing with utility-first layouts, you can invoke it in Tailwind as text-[#A5222A] or custom configure it in your theme files.
What are the RGB and HSL conversion values for #A5222A?
The RGB code for #A5222A is computed as rgb(165, 34, 42). Web designers using HSL values will find it at a hue of 356°, saturation of 66%, and lightness index of 39%, representing a balanced, moderate saturation.
CMYK print code settings for #A5222A
For print design setups, the CMYK values for the #A5222A color code are Cyan: 0%, Magenta: 79%, Yellow: 75%, and Black: 35%. Given its red-channel dominance, this color is a powerful visual stimulator often deployed in banners, call-to-actions, and warning components.
HEX #A5222A Color Space Conversions
Click to copy formatContrast & Accessibility (WCAG 2.1) Check
White text readability test with #A5222A
Small body copy preview
Black text readability test with #A5222A
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: #A5222A;
--color-rgb: rgb(165, 34, 42);
--color-hsl: hsl(356deg, 66%, 39%);