#AF8E9C Color Information

Hex color code: #AF8E9C

The hex color #AF8E9C is a muted magenta with RGB values of (175, 142, 156) and HSL of (335°, 17%, 62%). It is typically applied in digital products.

Try:
Color NameRosy Brown
HEX
#AF8E9C
RGB
175, 142, 156
HSL
335°, 17%, 62%
CMYK
0%, 19%, 11%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF8E9C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 142, 156

Red: 175 / Green: 142 / Blue: 156

HSL

335°, 17%, 62%

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

CMYK

0%, 19%, 11%, 31%

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

What color is #AF8E9C?

#AF8E9C is a red-orange hue associated with warmth and passion.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF8E9C to RGB:

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

HEX to HSL

Convert #AF8E9C to HSL:

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

HEX to CMYK

Convert #AF8E9C to CMYK:

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

Color Meaning and Usage

#AF8E9C is a muted magenta color with RGB values of 175, 142, 156 and HSL of 335°, 17%, 62%. This red-orange hue evokes warmth and passion, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

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

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

Contrast with #AF8E9C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF8E9C?

#AF8E9C is a muted magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #AF8E9C?

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

How to use #AF8E9C in CSS?

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

What colors go well with #AF8E9C?

#8EAFA1 (complementary), #AF8EAC (analogous), and #8C6374 (lighter shade) work well with #AF8E9C.