#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.
Shades
color: #AFA2BB; background-color: #AFA2BB; border-color: #AFA2BB; box-shadow: 0 0 10px #AFA2BB; border: 2px solid #AFA2BB;
bg-[#AFA2BB] text-[#AFA2BB] border-[#AFA2BB] shadow-[0_0_10px_AFA2BB]
Generate Gradient
background: linear-gradient(90deg, #AFA2BB, #FF5733);
Preview in UI
Button
Badge
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.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
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.
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
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.
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.