#AF8AAA Color Information

Hex color code: #AF8AAA

The hex color #AF8AAA is a balanced magenta with RGB values of (175, 138, 170) and HSL of (308°, 19%, 61%). It is often used for branding and logos.

Try:
Color NameRosy Brown
HEX
#AF8AAA
RGB
175, 138, 170
HSL
308°, 19%, 61%
CMYK
0%, 21%, 3%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF8AAA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 138, 170

Red: 175 / Green: 138 / Blue: 170

HSL

308°, 19%, 61%

Hue: 308° / Saturation: 19% / Lightness: 61%

CMYK

0%, 21%, 3%, 31%

Cyan: 0% / Magenta: 21% / Yellow: 3% / Key: 31%

What color is #AF8AAA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF8AAA to RGB:

rgb(175, 138, 170)HEX to RGB Converter →

HEX to HSL

Convert #AF8AAA to HSL:

hsl(308, 19%, 61%)RGB to HSL Converter →

HEX to CMYK

Convert #AF8AAA to CMYK:

cmyk(0%, 21%, 3%, 31%)Color Converter →

Color Meaning and Usage

A balanced magenta tone, #AF8AAA has RGB (175, 138, 170) and HSL (308°, 19%, 61%). Known for evoking romance and playfulness, this magenta-red hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF8AAA is #89AE8E, creating high-contrast pairings. For softer combinations, try analogous colors like #A189AE.

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

Contrast with #AF8AAA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF8AAA?

#AF8AAA is a balanced magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF8AAA?

#AF8AAA in RGB is (175, 138, 170) - 175 red, 138 green, and 170 blue.

How to use #AF8AAA in CSS?

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

What colors go well with #AF8AAA?

#89AE8E (complementary), #A189AE (analogous), and #8C5F86 (lighter shade) work well with #AF8AAA.