HEX Color Conversion

Hex Color Code #A5512A — RGB & HSL Conversions

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

For developers, implementing the #A5512A color code involves declaring it in your styles. In stylesheet designs, use color: #A5512A; for text alignment. If you are developing with utility-first layouts, you can invoke it in Tailwind as text-[#A5512A] or custom configure it in your theme files.

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

The RGB code for #A5512A is computed as rgb(165, 81, 42). Web designers using HSL values will find it at a hue of 19°, saturation of 59%, and lightness index of 41%, representing a balanced, moderate saturation.

CMYK print code settings for #A5512A

For print design setups, the CMYK values for the #A5512A color code are Cyan: 0%, Magenta: 51%, Yellow: 75%, and Black: 35%. Orange balances warmth and friendliness, serving as a bright focal accent in active user interfaces.

Red Channel 165
Green Channel 81
Blue Channel 42
Luminance 0.141

HEX #A5512A Color Space Conversions

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

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #A5512A

Small body copy preview

Black Text on Background

Black text readability test with #A5512A

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

Adjacent HEX Color Codes

Copied!