#AFA2BB Color Information

Hex color code: #AFA2BB

#AFA2BB is a understated purple color. In RGB it is (175, 162, 187), and in HSL it is (271°, 16%, 68%). It is widely used in graphic design.

Try:
Color NameSilver
HEX
#AFA2BB
RGB
175, 162, 187
HSL
271°, 16%, 68%
CMYK
6%, 13%, 0%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFA2BB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 162, 187

Red: 175 / Green: 162 / Blue: 187

HSL

271°, 16%, 68%

Hue: 271° / Saturation: 16% / Lightness: 68%

CMYK

6%, 13%, 0%, 27%

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

What color is #AFA2BB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFA2BB to RGB:

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

HEX to HSL

Convert #AFA2BB to HSL:

hsl(271, 16%, 68%)RGB to HSL Converter →

HEX to CMYK

Convert #AFA2BB to CMYK:

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

Color Meaning and Usage

A neutral purple tone, #AFA2BB has RGB (175, 162, 187) and HSL (271°, 16%, 68%). Known for evoking romance and playfulness, this magenta-red hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFA2BB is #ADBAA0, creating high-contrast pairings. For softer combinations, try analogous colors like #A1A0BA.

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

Contrast with #AFA2BB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFA2BB?

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

What is the RGB value of #AFA2BB?

#AFA2BB in RGB is (175, 162, 187) - 175 red, 162 green, and 187 blue.

How to use #AFA2BB in CSS?

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

What colors go well with #AFA2BB?

#ADBAA0 (complementary), #A1A0BA (analogous), and #88749A (lighter shade) work well with #AFA2BB.