#AF0DA2 Color Information

Hex color code: #AF0DA2

#AF0DA2 is a vivid magenta color. In RGB it is (175, 13, 162), and in HSL it is (305°, 86%, 37%). It is commonly used in modern UI design.

Try:
Color NameMedium Violet Red
HEX
#AF0DA2
RGB
175, 13, 162
HSL
305°, 86%, 37%
CMYK
0%, 93%, 7%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF0DA2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 13, 162

Red: 175 / Green: 13 / Blue: 162

HSL

305°, 86%, 37%

Hue: 305° / Saturation: 86% / Lightness: 37%

CMYK

0%, 93%, 7%, 31%

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

What color is #AF0DA2?

#AF0DA2 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF0DA2 to RGB:

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

HEX to HSL

Convert #AF0DA2 to HSL:

hsl(305, 86%, 37%)RGB to HSL Converter →

HEX to CMYK

Convert #AF0DA2 to CMYK:

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

Color Meaning and Usage

A striking magenta tone, #AF0DA2 has RGB (175, 13, 162) and HSL (305°, 86%, 37%). Known for evoking energy and excitement, this highly saturated hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF0DA2 is #0DAF1B, creating high-contrast pairings. For softer combinations, try analogous colors like #6C0DAF.

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

Contrast with #AF0DA2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF0DA2?

#AF0DA2 is a striking magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #AF0DA2?

#AF0DA2 in RGB is (175, 13, 162) - 175 red, 13 green, and 162 blue.

How to use #AF0DA2 in CSS?

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

What colors go well with #AF0DA2?

#0DAF1B (complementary), #6C0DAF (analogous), and #680860 (lighter shade) work well with #AF0DA2.