Hex Color Code #A6312A — RGB & HSL Conversions
How to use the #A6312A color code in HTML & CSS?
To apply the hex color #A6312A in web design, set the color property inside your CSS stylesheet. For example, adding background-color: #A6312A; will paint elements in this warm undertone shade. In modern CSS structures, you can configure it as a custom variable --color-hex: #A6312A; or utilize it directly in Tailwind CSS via arbitrary utility values like bg-[#A6312A].
What are the RGB and HSL conversion values for #A6312A?
In the digital sRGB color space, the hex value #A6312A is converted to RGB values of Red: 166, Green: 49, and Blue: 42. When analyzed under the HSL model, its coordinates correspond to hue angle 3°, 60% saturation, and 41% lightness. This makes it visually a balanced medium tone with a balanced, moderate saturation.
CMYK print code settings for #A6312A
When converting #A6312A for CMYK printing, the color separation consists of 0% Cyan, 70% 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 #A6312A Color Space Conversions
Click to copy formatContrast & Accessibility (WCAG 2.1) Check
White text readability test with #A6312A
Small body copy preview
Black text readability test with #A6312A
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: #A6312A;
--color-rgb: rgb(166, 49, 42);
--color-hsl: hsl(3deg, 60%, 41%);