#AF8EAF Color Information

Hex color code: #AF8EAF

The hex color #AF8EAF is a subtle magenta with RGB values of (175, 142, 175) and HSL of (300°, 17%, 62%). It is often used for branding and logos.

Try:
Color NameRosy Brown
HEX
#AF8EAF
RGB
175, 142, 175
HSL
300°, 17%, 62%
CMYK
0%, 19%, 0%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF8EAF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 142, 175

Red: 175 / Green: 142 / Blue: 175

HSL

300°, 17%, 62%

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

CMYK

0%, 19%, 0%, 31%

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

What color is #AF8EAF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF8EAF to RGB:

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

HEX to HSL

Convert #AF8EAF to HSL:

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

HEX to CMYK

Convert #AF8EAF to CMYK:

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

Color Meaning and Usage

#AF8EAF is a neutral magenta color with RGB values of 175, 142, 175 and HSL of 300°, 17%, 62%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF8EAF is #8EAF8E, creating high-contrast pairings. For softer combinations, try analogous colors like #9E8EAF.

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

Contrast with #AF8EAF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF8EAF?

#AF8EAF is a neutral magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF8EAF?

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

How to use #AF8EAF in CSS?

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

What colors go well with #AF8EAF?

#8EAF8E (complementary), #9E8EAF (analogous), and #8C638C (lighter shade) work well with #AF8EAF.