#AF97A0 Color Information

Hex color code: #AF97A0

The hex color #AF97A0 is a understated magenta with RGB values of (175, 151, 160) and HSL of (338°, 13%, 64%). It is widely used in graphic design.

Try:
Color NameRosy Brown
HEX
#AF97A0
RGB
175, 151, 160
HSL
338°, 13%, 64%
CMYK
0%, 14%, 9%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF97A0; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 151, 160

Red: 175 / Green: 151 / Blue: 160

HSL

338°, 13%, 64%

Hue: 338° / Saturation: 13% / Lightness: 64%

CMYK

0%, 14%, 9%, 31%

Cyan: 0% / Magenta: 14% / Yellow: 9% / Key: 31%

What color is #AF97A0?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF97A0 to RGB:

rgb(175, 151, 160)HEX to RGB Converter →

HEX to HSL

Convert #AF97A0 to HSL:

hsl(338, 13%, 64%)RGB to HSL Converter →

HEX to CMYK

Convert #AF97A0 to CMYK:

cmyk(0%, 14%, 9%, 31%)Color Converter →

Color Meaning and Usage

A neutral magenta tone, #AF97A0 has RGB (175, 151, 160) and HSL (338°, 13%, 64%). Known for evoking balance and subtlety, this desaturated neutral is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF97A0 is #97AFA6, creating high-contrast pairings. For softer combinations, try analogous colors like #AF97AC.

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

Contrast with #AF97A0

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF97A0?

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

What is the RGB value of #AF97A0?

#AF97A0 in RGB is (175, 151, 160) - 175 red, 151 green, and 160 blue.

How to use #AF97A0 in CSS?

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

What colors go well with #AF97A0?

#97AFA6 (complementary), #AF97AC (analogous), and #8D6D79 (lighter shade) work well with #AF97A0.