HEX Color Conversion

Hex Color Code #A54C2A — RGB & HSL Conversions

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

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

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

In the digital sRGB color space, the hex value #A54C2A is converted to RGB values of Red: 165, Green: 76, and Blue: 42. When analyzed under the HSL model, its coordinates correspond to hue angle 17°, 59% saturation, and 41% lightness. This makes it visually a balanced medium tone with a balanced, moderate saturation.

CMYK print code settings for #A54C2A

When converting #A54C2A for CMYK printing, the color separation consists of 0% Cyan, 54% Magenta, 75% Yellow, and 35% key/black. Orange balances warmth and friendliness, serving as a bright focal accent in active user interfaces.

Red Channel 165
Green Channel 76
Blue Channel 42
Luminance 0.133

HEX #A54C2A Color Space Conversions

Click to copy format
HEX Color Code #A54C2A
RGB (Red Green Blue) rgb(165, 76, 42)
HSL (Hue Sat Light) hsl(17°, 59%, 41%)
CMYK (Commercial Print) cmyk(0%, 54%, 75%, 35%)
HSV / HSB Values hsv(17°, 75%, 65%)
Decimal Color Code 10832938
CSS Custom Variable --color-hex: #A54C2A;
Tailwind CSS Utility bg-[#A54C2A]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #A54C2A

Small body copy preview

Black Text on Background

Black text readability test with #A54C2A

Small body copy preview

Complementary & Analogous Harmonies

Perfect matching color schemes for your designs

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 #A54C2A */
--color-hex: #A54C2A;
--color-rgb: rgb(165, 76, 42);
--color-hsl: hsl(17deg, 59%, 41%);

Adjacent HEX Color Codes

Copied!