#A5979C Color Information

Hex color code: #A5979C

#A5979C is a neutral magenta color. In RGB it is (165, 151, 156), and in HSL it is (339°, 7%, 62%). It is frequently seen in web interfaces.

Try:
Color NameRosy Brown
HEX
#A5979C
RGB
165, 151, 156
HSL
339°, 7%, 62%
CMYK
0%, 8%, 5%, 35%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #A5979C; 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 #A5979C; background-color: #A5979C15; }

Alert / Toast

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

Link / Accent

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

a { color: #A5979C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

165, 151, 156

Red: 165 / Green: 151 / Blue: 156

HSL

339°, 7%, 62%

Hue: 339° / Saturation: 7% / Lightness: 62%

CMYK

0%, 8%, 5%, 35%

Cyan: 0% / Magenta: 8% / Yellow: 5% / Key: 35%

What color is #A5979C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A5979C to RGB:

rgb(165, 151, 156)HEX to RGB Converter →

HEX to HSL

Convert #A5979C to HSL:

hsl(339, 7%, 62%)RGB to HSL Converter →

HEX to CMYK

Convert #A5979C to CMYK:

cmyk(0%, 8%, 5%, 35%)Color Converter →

Color Meaning and Usage

A subtle magenta tone, #A5979C has RGB (165, 151, 156) and HSL (339°, 7%, 62%). Known for evoking balance and subtlety, this desaturated neutral is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A5979C is #97A5A0, creating high-contrast pairings. For softer combinations, try analogous colors like #A597A3.

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

Contrast with #A5979C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A5979C?

#A5979C is a subtle magenta color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #A5979C?

#A5979C in RGB is (165, 151, 156) - 165 red, 151 green, and 156 blue.

How to use #A5979C in CSS?

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

What colors go well with #A5979C?

#97A5A0 (complementary), #A597A3 (analogous), and #806F75 (lighter shade) work well with #A5979C.