#AF979F Color Information

Hex color code: #AF979F

A muted magenta shade, #AF979F appears as (175, 151, 159) in RGB and (340°, 13%, 64%) in HSL. It is typically applied in digital products.

Try:
Color NameRosy Brown
HEX
#AF979F
RGB
175, 151, 159
HSL
340°, 13%, 64%
CMYK
0%, 14%, 9%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF979F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 151, 159

Red: 175 / Green: 151 / Blue: 159

HSL

340°, 13%, 64%

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

CMYK

0%, 14%, 9%, 31%

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

What color is #AF979F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF979F to RGB:

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

HEX to HSL

Convert #AF979F to HSL:

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

HEX to CMYK

Convert #AF979F to CMYK:

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

Color Meaning and Usage

#AF979F is a subtle magenta color with RGB values of 175, 151, 159 and HSL of 340°, 13%, 64%. This desaturated neutral evokes balance and subtlety, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF979F is #97AFA7, creating high-contrast pairings. For softer combinations, try analogous colors like #AF97AB.

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

Contrast with #AF979F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF979F?

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

What is the RGB value of #AF979F?

#AF979F in RGB is (175, 151, 159) - 175 red, 151 green, and 159 blue.

How to use #AF979F in CSS?

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

What colors go well with #AF979F?

#97AFA7 (complementary), #AF97AB (analogous), and #8D6D78 (lighter shade) work well with #AF979F.