#AF87BB Color Information

Hex color code: #AF87BB

#AF87BB is a gentle magenta color. In RGB it is (175, 135, 187), and in HSL it is (286°, 28%, 63%). It is frequently seen in web interfaces.

Try:
Color NameRosy Brown
HEX
#AF87BB
RGB
175, 135, 187
HSL
286°, 28%, 63%
CMYK
6%, 28%, 0%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF87BB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 135, 187

Red: 175 / Green: 135 / Blue: 187

HSL

286°, 28%, 63%

Hue: 286° / Saturation: 28% / Lightness: 63%

CMYK

6%, 28%, 0%, 27%

Cyan: 6% / Magenta: 28% / Yellow: 0% / Key: 27%

What color is #AF87BB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF87BB to RGB:

rgb(175, 135, 187)HEX to RGB Converter →

HEX to HSL

Convert #AF87BB to HSL:

hsl(286, 28%, 63%)RGB to HSL Converter →

HEX to CMYK

Convert #AF87BB to CMYK:

cmyk(6%, 28%, 0%, 27%)Color Converter →

Color Meaning and Usage

#AF87BB is a soft magenta color with RGB values of 175, 135, 187 and HSL of 286°, 28%, 63%. This magenta-red hue evokes romance and playfulness, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF87BB is #93BB86, creating high-contrast pairings. For softer combinations, try analogous colors like #9486BB.

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

Contrast with #AF87BB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF87BB?

#AF87BB is a soft magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF87BB?

#AF87BB in RGB is (175, 135, 187) - 175 red, 135 green, and 187 blue.

How to use #AF87BB in CSS?

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

What colors go well with #AF87BB?

#93BB86 (complementary), #9486BB (analogous), and #8D589D (lighter shade) work well with #AF87BB.