#AF8EAC Color Information

Hex color code: #AF8EAC

A subtle magenta shade, #AF8EAC appears as (175, 142, 172) in RGB and (305°, 17%, 62%) in HSL. It is popular in mobile app design.

Try:
Color NameRosy Brown
HEX
#AF8EAC
RGB
175, 142, 172
HSL
305°, 17%, 62%
CMYK
0%, 19%, 2%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF8EAC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 142, 172

Red: 175 / Green: 142 / Blue: 172

HSL

305°, 17%, 62%

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

CMYK

0%, 19%, 2%, 31%

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

What color is #AF8EAC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF8EAC to RGB:

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

HEX to HSL

Convert #AF8EAC to HSL:

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

HEX to CMYK

Convert #AF8EAC to CMYK:

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

Color Meaning and Usage

#AF8EAC is a neutral magenta color with RGB values of 175, 142, 172 and HSL of 305°, 17%, 62%. This magenta-red hue evokes romance and playfulness, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF8EAC is #8EAF90, creating high-contrast pairings. For softer combinations, try analogous colors like #A18EAF.

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

Contrast with #AF8EAC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF8EAC?

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

What is the RGB value of #AF8EAC?

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

How to use #AF8EAC in CSS?

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

What colors go well with #AF8EAC?

#8EAF90 (complementary), #A18EAF (analogous), and #8C6389 (lighter shade) work well with #AF8EAC.