#A797AA Color Information

Hex color code: #A797AA

The hex color #A797AA is a subtle magenta with RGB values of (167, 151, 170) and HSL of (291°, 10%, 63%). It is often used for branding and logos.

Try:
Color NameRosy Brown
HEX
#A797AA
RGB
167, 151, 170
HSL
291°, 10%, 63%
CMYK
2%, 11%, 0%, 33%

Shades

CSS Usage
color: #A797AA;
background-color: #A797AA;
border-color: #A797AA;
box-shadow: 0 0 10px #A797AA;
border: 2px solid #A797AA;
Tailwind Usage
bg-[#A797AA]
text-[#A797AA]
border-[#A797AA]
shadow-[0_0_10px_A797AA]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #A797AA, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #A797AA; color: #000000; }

Badge

New Feature
.badge { background-color: #A797AA; color: #000000; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #A797AA; background-color: #A797AA15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #A797AA20; border-left: 4px solid #A797AA; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #A797AA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #A797AA in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

167, 151, 170

Red: 167 / Green: 151 / Blue: 170

HSL

291°, 10%, 63%

Hue: 291° / Saturation: 10% / Lightness: 63%

CMYK

2%, 11%, 0%, 33%

Cyan: 2% / Magenta: 11% / Yellow: 0% / Key: 33%

What color is #A797AA?

#A797AA is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A797AA to RGB:

rgb(167, 151, 170)HEX to RGB Converter →

HEX to HSL

Convert #A797AA to HSL:

hsl(291, 10%, 63%)RGB to HSL Converter →

HEX to CMYK

Convert #A797AA to CMYK:

cmyk(2%, 11%, 0%, 33%)Color Converter →

Color Meaning and Usage

A understated magenta tone, #A797AA has RGB (167, 151, 170) and HSL (291°, 10%, 63%). Known for evoking balance and subtlety, this desaturated neutral is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A797AA is #9AAA97, creating high-contrast pairings. For softer combinations, try analogous colors like #9E97AA.

Use #A797AA in CSS: color: #A797AA or background-color: #A797AA. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #A797AA

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 7.65:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A797AA?

#A797AA is a understated magenta color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #A797AA?

#A797AA in RGB is (167, 151, 170) - 167 red, 151 green, and 170 blue.

How to use #A797AA in CSS?

Use #A797AA directly in your CSS properties like color or background-color.

What colors go well with #A797AA?

#9AAA97 (complementary), #9E97AA (analogous), and #836E87 (lighter shade) work well with #A797AA.