#AFA5AF Color Information

Hex color code: #AFA5AF

The hex color #AFA5AF is a balanced magenta with RGB values of (175, 165, 175) and HSL of (300°, 6%, 67%). It is frequently seen in web interfaces.

Try:
Color NameSilver
HEX
#AFA5AF
RGB
175, 165, 175
HSL
300°, 6%, 67%
CMYK
0%, 6%, 0%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFA5AF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 165, 175

Red: 175 / Green: 165 / Blue: 175

HSL

300°, 6%, 67%

Hue: 300° / Saturation: 6% / Lightness: 67%

CMYK

0%, 6%, 0%, 31%

Cyan: 0% / Magenta: 6% / Yellow: 0% / Key: 31%

What color is #AFA5AF?

#AFA5AF is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFA5AF to RGB:

rgb(175, 165, 175)HEX to RGB Converter →

HEX to HSL

Convert #AFA5AF to HSL:

hsl(300, 6%, 67%)RGB to HSL Converter →

HEX to CMYK

Convert #AFA5AF to CMYK:

cmyk(0%, 6%, 0%, 31%)Color Converter →

Color Meaning and Usage

#AFA5AF is a neutral magenta color with RGB values of 175, 165, 175 and HSL of 300°, 6%, 67%. This desaturated neutral evokes balance and subtlety, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFA5AF is #A6B0A6, creating high-contrast pairings. For softer combinations, try analogous colors like #ABA6B0.

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

Contrast with #AFA5AF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFA5AF?

#AFA5AF is a neutral magenta color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #AFA5AF?

#AFA5AF in RGB is (175, 165, 175) - 175 red, 165 green, and 175 blue.

How to use #AFA5AF in CSS?

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

What colors go well with #AFA5AF?

#A6B0A6 (complementary), #ABA6B0 (analogous), and #8C7D8C (lighter shade) work well with #AFA5AF.