#AF55A2 Color Information

Hex color code: #AF55A2

The hex color #AF55A2 is a subtle magenta with RGB values of (175, 85, 162) and HSL of (309°, 36%, 51%). It is often used for branding and logos.

Try:
Color NameMedium Orchid
HEX
#AF55A2
RGB
175, 85, 162
HSL
309°, 36%, 51%
CMYK
0%, 51%, 7%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF55A2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 85, 162

Red: 175 / Green: 85 / Blue: 162

HSL

309°, 36%, 51%

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

CMYK

0%, 51%, 7%, 31%

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

What color is #AF55A2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF55A2 to RGB:

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

HEX to HSL

Convert #AF55A2 to HSL:

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

HEX to CMYK

Convert #AF55A2 to CMYK:

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

Color Meaning and Usage

#AF55A2 is a gentle magenta color with RGB values of 175, 85, 162 and HSL of 309°, 36%, 51%. This magenta-red hue evokes romance and playfulness, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF55A2 is #55AF63, creating high-contrast pairings. For softer combinations, try analogous colors like #9055AF.

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

Contrast with #AF55A2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF55A2?

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

What is the RGB value of #AF55A2?

#AF55A2 in RGB is (175, 85, 162) - 175 red, 85 green, and 162 blue.

How to use #AF55A2 in CSS?

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

What colors go well with #AF55A2?

#55AF63 (complementary), #9055AF (analogous), and #7D3B73 (lighter shade) work well with #AF55A2.