#AF2E62 Color Information

Hex color code: #AF2E62

A energetic magenta shade, #AF2E62 appears as (175, 46, 98) in RGB and (336°, 58%, 43%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameMedium Violet Red
HEX
#AF2E62
RGB
175, 46, 98
HSL
336°, 58%, 43%
CMYK
0%, 74%, 44%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF2E62; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 46, 98

Red: 175 / Green: 46 / Blue: 98

HSL

336°, 58%, 43%

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

CMYK

0%, 74%, 44%, 31%

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

What color is #AF2E62?

#AF2E62 is a red-orange hue associated with warmth and passion.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF2E62 to RGB:

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

HEX to HSL

Convert #AF2E62 to HSL:

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

HEX to CMYK

Convert #AF2E62 to CMYK:

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

Color Meaning and Usage

A warm magenta tone, #AF2E62 has RGB (175, 46, 98) and HSL (336°, 58%, 43%). Known for evoking warmth and passion, this red-orange hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF2E62 is #2EAD7A, creating high-contrast pairings. For softer combinations, try analogous colors like #AD2EA1.

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

Contrast with #AF2E62

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF2E62?

#AF2E62 is a warm magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #AF2E62?

#AF2E62 in RGB is (175, 46, 98) - 175 red, 46 green, and 98 blue.

How to use #AF2E62 in CSS?

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

What colors go well with #AF2E62?

#2EAD7A (complementary), #AD2EA1 (analogous), and #711E3F (lighter shade) work well with #AF2E62.