#AF8DB9 Color Information

Hex color code: #AF8DB9

#AF8DB9 is a gentle magenta color. In RGB it is (175, 141, 185), and in HSL it is (286°, 24%, 64%). It is often used for branding and logos.

Try:
Color NameRosy Brown
HEX
#AF8DB9
RGB
175, 141, 185
HSL
286°, 24%, 64%
CMYK
5%, 24%, 0%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF8DB9; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 141, 185

Red: 175 / Green: 141 / Blue: 185

HSL

286°, 24%, 64%

Hue: 286° / Saturation: 24% / Lightness: 64%

CMYK

5%, 24%, 0%, 27%

Cyan: 5% / Magenta: 24% / Yellow: 0% / Key: 27%

What color is #AF8DB9?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF8DB9 to RGB:

rgb(175, 141, 185)HEX to RGB Converter →

HEX to HSL

Convert #AF8DB9 to HSL:

hsl(286, 24%, 64%)RGB to HSL Converter →

HEX to CMYK

Convert #AF8DB9 to CMYK:

cmyk(5%, 24%, 0%, 27%)Color Converter →

Color Meaning and Usage

A subtle magenta tone, #AF8DB9 has RGB (175, 141, 185) and HSL (286°, 24%, 64%). Known for evoking romance and playfulness, this magenta-red hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF8DB9 is #97B98D, creating high-contrast pairings. For softer combinations, try analogous colors like #998DB9.

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

Contrast with #AF8DB9

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF8DB9?

#AF8DB9 is a subtle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF8DB9?

#AF8DB9 in RGB is (175, 141, 185) - 175 red, 141 green, and 185 blue.

How to use #AF8DB9 in CSS?

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

What colors go well with #AF8DB9?

#97B98D (complementary), #998DB9 (analogous), and #8D5F9B (lighter shade) work well with #AF8DB9.