#AF20DF Color Information

Hex color code: #AF20DF

#AF20DF is a striking magenta color. In RGB it is (175, 32, 223), and in HSL it is (285°, 75%, 50%). It is often used for branding and logos.

Try:
Color NameDark Orchid
HEX
#AF20DF
RGB
175, 32, 223
HSL
285°, 75%, 50%
CMYK
22%, 86%, 0%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF20DF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 32, 223

Red: 175 / Green: 32 / Blue: 223

HSL

285°, 75%, 50%

Hue: 285° / Saturation: 75% / Lightness: 50%

CMYK

22%, 86%, 0%, 13%

Cyan: 22% / Magenta: 86% / Yellow: 0% / Key: 13%

What color is #AF20DF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF20DF to RGB:

rgb(175, 32, 223)HEX to RGB Converter →

HEX to HSL

Convert #AF20DF to HSL:

hsl(285, 75%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #AF20DF to CMYK:

cmyk(22%, 86%, 0%, 13%)Color Converter →

Color Meaning and Usage

A dynamic magenta tone, #AF20DF has RGB (175, 32, 223) and HSL (285°, 75%, 50%). Known for evoking romance and playfulness, this magenta-red hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF20DF is #50DF20, creating high-contrast pairings. For softer combinations, try analogous colors like #5020DF.

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

Contrast with #AF20DF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF20DF?

#AF20DF is a dynamic magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF20DF?

#AF20DF in RGB is (175, 32, 223) - 175 red, 32 green, and 223 blue.

How to use #AF20DF in CSS?

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

What colors go well with #AF20DF?

#50DF20 (complementary), #5020DF (analogous), and #7B169C (lighter shade) work well with #AF20DF.