#AF60A2 Color Information

Hex color code: #AF60A2

The hex color #AF60A2 is a pastel magenta with RGB values of (175, 96, 162) and HSL of (310°, 33%, 53%). It is commonly used in modern UI design.

Try:
Color NamePale Violet Red
HEX
#AF60A2
RGB
175, 96, 162
HSL
310°, 33%, 53%
CMYK
0%, 45%, 7%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF60A2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 96, 162

Red: 175 / Green: 96 / Blue: 162

HSL

310°, 33%, 53%

Hue: 310° / Saturation: 33% / Lightness: 53%

CMYK

0%, 45%, 7%, 31%

Cyan: 0% / Magenta: 45% / Yellow: 7% / Key: 31%

What color is #AF60A2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF60A2 to RGB:

rgb(175, 96, 162)HEX to RGB Converter →

HEX to HSL

Convert #AF60A2 to HSL:

hsl(310, 33%, 53%)RGB to HSL Converter →

HEX to CMYK

Convert #AF60A2 to CMYK:

cmyk(0%, 45%, 7%, 31%)Color Converter →

Color Meaning and Usage

A subtle magenta tone, #AF60A2 has RGB (175, 96, 162) and HSL (310°, 33%, 53%). Known for evoking romance and playfulness, this magenta-red hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF60A2 is #60AF6D, creating high-contrast pairings. For softer combinations, try analogous colors like #9460AF.

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

Contrast with #AF60A2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF60A2?

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

What is the RGB value of #AF60A2?

#AF60A2 in RGB is (175, 96, 162) - 175 red, 96 green, and 162 blue.

How to use #AF60A2 in CSS?

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

What colors go well with #AF60A2?

#60AF6D (complementary), #9460AF (analogous), and #814176 (lighter shade) work well with #AF60A2.