#AF79B4 Color Information

Hex color code: #AF79B4

A gentle magenta shade, #AF79B4 appears as (175, 121, 180) in RGB and (295°, 28%, 59%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameRosy Brown
HEX
#AF79B4
RGB
175, 121, 180
HSL
295°, 28%, 59%
CMYK
3%, 33%, 0%, 29%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF79B4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 121, 180

Red: 175 / Green: 121 / Blue: 180

HSL

295°, 28%, 59%

Hue: 295° / Saturation: 28% / Lightness: 59%

CMYK

3%, 33%, 0%, 29%

Cyan: 3% / Magenta: 33% / Yellow: 0% / Key: 29%

What color is #AF79B4?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF79B4 to RGB:

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

HEX to HSL

Convert #AF79B4 to HSL:

hsl(295, 28%, 59%)RGB to HSL Converter →

HEX to CMYK

Convert #AF79B4 to CMYK:

cmyk(3%, 33%, 0%, 29%)Color Converter →

Color Meaning and Usage

#AF79B4 is a subtle magenta color with RGB values of 175, 121, 180 and HSL of 295°, 28%, 59%. This magenta-red hue evokes romance and playfulness, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF79B4 is #7EB479, creating high-contrast pairings. For softer combinations, try analogous colors like #9279B4.

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

Contrast with #AF79B4

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF79B4?

#AF79B4 is a subtle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF79B4?

#AF79B4 in RGB is (175, 121, 180) - 175 red, 121 green, and 180 blue.

How to use #AF79B4 in CSS?

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

What colors go well with #AF79B4?

#7EB479 (complementary), #9279B4 (analogous), and #8A5190 (lighter shade) work well with #AF79B4.