#AF55AC Color Information

Hex color code: #AF55AC

A subtle magenta shade, #AF55AC appears as (175, 85, 172) in RGB and (302°, 36%, 51%) in HSL. It is often used for branding and logos.

Try:
Color NameMedium Orchid
HEX
#AF55AC
RGB
175, 85, 172
HSL
302°, 36%, 51%
CMYK
0%, 51%, 2%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF55AC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 85, 172

Red: 175 / Green: 85 / Blue: 172

HSL

302°, 36%, 51%

Hue: 302° / Saturation: 36% / Lightness: 51%

CMYK

0%, 51%, 2%, 31%

Cyan: 0% / Magenta: 51% / Yellow: 2% / Key: 31%

What color is #AF55AC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF55AC to RGB:

rgb(175, 85, 172)HEX to RGB Converter →

HEX to HSL

Convert #AF55AC to HSL:

hsl(302, 36%, 51%)RGB to HSL Converter →

HEX to CMYK

Convert #AF55AC to CMYK:

cmyk(0%, 51%, 2%, 31%)Color Converter →

Color Meaning and Usage

#AF55AC is a gentle magenta color with RGB values of 175, 85, 172 and HSL of 302°, 36%, 51%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF55AC is #55AF58, creating high-contrast pairings. For softer combinations, try analogous colors like #8555AF.

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

Contrast with #AF55AC

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

Contrast Ratio: 4.72:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF55AC?

#AF55AC is a gentle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF55AC?

#AF55AC in RGB is (175, 85, 172) - 175 red, 85 green, and 172 blue.

How to use #AF55AC in CSS?

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

What colors go well with #AF55AC?

#55AF58 (complementary), #8555AF (analogous), and #7D3B7B (lighter shade) work well with #AF55AC.