#AF79AB Color Information

Hex color code: #AF79AB

A subtle magenta shade, #AF79AB appears as (175, 121, 171) in RGB and (304°, 25%, 58%) in HSL. It is often used for branding and logos.

Try:
Color NameRosy Brown
HEX
#AF79AB
RGB
175, 121, 171
HSL
304°, 25%, 58%
CMYK
0%, 31%, 2%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF79AB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 121, 171

Red: 175 / Green: 121 / Blue: 171

HSL

304°, 25%, 58%

Hue: 304° / Saturation: 25% / Lightness: 58%

CMYK

0%, 31%, 2%, 31%

Cyan: 0% / Magenta: 31% / Yellow: 2% / Key: 31%

What color is #AF79AB?

#AF79AB is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF79AB to RGB:

rgb(175, 121, 171)HEX to RGB Converter →

HEX to HSL

Convert #AF79AB to HSL:

hsl(304, 25%, 58%)RGB to HSL Converter →

HEX to CMYK

Convert #AF79AB to CMYK:

cmyk(0%, 31%, 2%, 31%)Color Converter →

Color Meaning and Usage

A pastel magenta tone, #AF79AB has RGB (175, 121, 171) and HSL (304°, 25%, 58%). Known for evoking romance and playfulness, this magenta-red hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF79AB is #79AF7D, creating high-contrast pairings. For softer combinations, try analogous colors like #9779AF.

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

Contrast with #AF79AB

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

Contrast Ratio: 6.15:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF79AB?

#AF79AB is a pastel magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF79AB?

#AF79AB in RGB is (175, 121, 171) - 175 red, 121 green, and 171 blue.

How to use #AF79AB in CSS?

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

What colors go well with #AF79AB?

#79AF7D (complementary), #9779AF (analogous), and #895285 (lighter shade) work well with #AF79AB.