HEX Color Conversion

Hex Color Code #A5092A — RGB & HSL Conversions

How to use the #A5092A color code in HTML & CSS?

To apply the hex color #A5092A in web design, set the color property inside your CSS stylesheet. For example, adding background-color: #A5092A; will paint elements in this warm undertone shade. In modern CSS structures, you can configure it as a custom variable --color-hex: #A5092A; or utilize it directly in Tailwind CSS via arbitrary utility values like bg-[#A5092A].

What are the RGB and HSL conversion values for #A5092A?

In the digital sRGB color space, the hex value #A5092A is converted to RGB values of Red: 165, Green: 9, and Blue: 42. When analyzed under the HSL model, its coordinates correspond to hue angle 347°, 90% saturation, and 34% lightness. This makes it visually a dark, rich color with a highly vivid, intense, and brilliant shade.

CMYK print code settings for #A5092A

When converting #A5092A for CMYK printing, the color separation consists of 0% Cyan, 95% 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.

Red Channel 165
Green Channel 9
Blue Channel 42
Luminance 0.084

HEX #A5092A Color Space Conversions

Click to copy format
HEX Color Code #A5092A
RGB (Red Green Blue) rgb(165, 9, 42)
HSL (Hue Sat Light) hsl(347°, 90%, 34%)
CMYK (Commercial Print) cmyk(0%, 95%, 75%, 35%)
HSV / HSB Values hsv(347°, 95%, 65%)
Decimal Color Code 10815786
CSS Custom Variable --color-hex: #A5092A;
Tailwind CSS Utility bg-[#A5092A]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #A5092A

Small body copy preview

Black Text on Background

Black text readability test with #A5092A

Small body copy preview

Complementary & Analogous Harmonies

Computed dynamically

Shades & Tints Generator Matrix

Copy shade hex values instantly

Darker Shades (Adding Black)

Lighter Tints (Adding White)

{ } CSS Custom Properties (Variables)

Copy CSS Styles
/* CSS Custom Properties for color #A5092A */
--color-hex: #A5092A;
--color-rgb: rgb(165, 9, 42);
--color-hsl: hsl(347deg, 90%, 34%);

Adjacent HEX Color Codes

Copied!