#AF2E77 Color Information

Hex color code: #AF2E77

A balanced magenta shade, #AF2E77 appears as (175, 46, 119) in RGB and (326°, 58%, 43%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameMedium Violet Red
HEX
#AF2E77
RGB
175, 46, 119
HSL
326°, 58%, 43%
CMYK
0%, 74%, 32%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #AF2E77; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #AF2E77; color: #FFFFFF; }

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 #AF2E77; background-color: #AF2E7715; }

Alert / Toast

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

Link / Accent

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

a { color: #AF2E77; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 46, 119

Red: 175 / Green: 46 / Blue: 119

HSL

326°, 58%, 43%

Hue: 326° / Saturation: 58% / Lightness: 43%

CMYK

0%, 74%, 32%, 31%

Cyan: 0% / Magenta: 74% / Yellow: 32% / Key: 31%

What color is #AF2E77?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF2E77 to RGB:

rgb(175, 46, 119)HEX to RGB Converter →

HEX to HSL

Convert #AF2E77 to HSL:

hsl(326, 58%, 43%)RGB to HSL Converter →

HEX to CMYK

Convert #AF2E77 to CMYK:

cmyk(0%, 74%, 32%, 31%)Color Converter →

Color Meaning and Usage

#AF2E77 is a muted magenta color with RGB values of 175, 46, 119 and HSL of 326°, 58%, 43%. 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 #AF2E77 is #2EAD65, creating high-contrast pairings. For softer combinations, try analogous colors like #A52EAD.

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

Contrast with #AF2E77

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

Contrast Ratio: 3.48:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF2E77?

#AF2E77 is a muted magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF2E77?

#AF2E77 in RGB is (175, 46, 119) - 175 red, 46 green, and 119 blue.

How to use #AF2E77 in CSS?

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

What colors go well with #AF2E77?

#2EAD65 (complementary), #A52EAD (analogous), and #711E4D (lighter shade) work well with #AF2E77.