#AF8EA9 Color Information

Hex color code: #AF8EA9

#AF8EA9 is a subtle magenta color. In RGB it is (175, 142, 169), and in HSL it is (311°, 17%, 62%). It is popular in mobile app design.

Try:
Color NameRosy Brown
HEX
#AF8EA9
RGB
175, 142, 169
HSL
311°, 17%, 62%
CMYK
0%, 19%, 3%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF8EA9; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 142, 169

Red: 175 / Green: 142 / Blue: 169

HSL

311°, 17%, 62%

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

CMYK

0%, 19%, 3%, 31%

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

What color is #AF8EA9?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF8EA9 to RGB:

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

HEX to HSL

Convert #AF8EA9 to HSL:

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

HEX to CMYK

Convert #AF8EA9 to CMYK:

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

Color Meaning and Usage

A neutral magenta tone, #AF8EA9 has RGB (175, 142, 169) and HSL (311°, 17%, 62%). Known for evoking romance and playfulness, this magenta-red hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF8EA9 is #8EAF94, creating high-contrast pairings. For softer combinations, try analogous colors like #A48EAF.

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

Contrast with #AF8EA9

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF8EA9?

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

What is the RGB value of #AF8EA9?

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

How to use #AF8EA9 in CSS?

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

What colors go well with #AF8EA9?

#8EAF94 (complementary), #A48EAF (analogous), and #8C6385 (lighter shade) work well with #AF8EA9.