#AF8EAD Color Information

Hex color code: #AF8EAD

#AF8EAD is a subtle magenta color. In RGB it is (175, 142, 173), and in HSL it is (304°, 17%, 62%). It is often used for branding and logos.

Try:
Color NameRosy Brown
HEX
#AF8EAD
RGB
175, 142, 173
HSL
304°, 17%, 62%
CMYK
0%, 19%, 1%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF8EAD; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 142, 173

Red: 175 / Green: 142 / Blue: 173

HSL

304°, 17%, 62%

Hue: 304° / Saturation: 17% / Lightness: 62%

CMYK

0%, 19%, 1%, 31%

Cyan: 0% / Magenta: 19% / Yellow: 1% / Key: 31%

What color is #AF8EAD?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF8EAD to RGB:

rgb(175, 142, 173)HEX to RGB Converter →

HEX to HSL

Convert #AF8EAD to HSL:

hsl(304, 17%, 62%)RGB to HSL Converter →

HEX to CMYK

Convert #AF8EAD to CMYK:

cmyk(0%, 19%, 1%, 31%)Color Converter →

Color Meaning and Usage

#AF8EAD is a muted magenta color with RGB values of 175, 142, 173 and HSL of 304°, 17%, 62%. 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 #AF8EAD is #8EAF90, creating high-contrast pairings. For softer combinations, try analogous colors like #A08EAF.

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

Contrast with #AF8EAD

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF8EAD?

#AF8EAD is a muted magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF8EAD?

#AF8EAD in RGB is (175, 142, 173) - 175 red, 142 green, and 173 blue.

How to use #AF8EAD in CSS?

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

What colors go well with #AF8EAD?

#8EAF90 (complementary), #A08EAF (analogous), and #8C638A (lighter shade) work well with #AF8EAD.