#AC20AC Color Information

Hex color code: #AC20AC

A understated magenta shade, #AC20AC appears as (172, 32, 172) in RGB and (300°, 69%, 40%) in HSL. It is popular in mobile app design.

Try:
Color NameDark Orchid
HEX
#AC20AC
RGB
172, 32, 172
HSL
300°, 69%, 40%
CMYK
0%, 81%, 0%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AC20AC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

172, 32, 172

Red: 172 / Green: 32 / Blue: 172

HSL

300°, 69%, 40%

Hue: 300° / Saturation: 69% / Lightness: 40%

CMYK

0%, 81%, 0%, 33%

Cyan: 0% / Magenta: 81% / Yellow: 0% / Key: 33%

What color is #AC20AC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AC20AC to RGB:

rgb(172, 32, 172)HEX to RGB Converter →

HEX to HSL

Convert #AC20AC to HSL:

hsl(300, 69%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #AC20AC to CMYK:

cmyk(0%, 81%, 0%, 33%)Color Converter →

Color Meaning and Usage

#AC20AC is a subtle magenta color with RGB values of 172, 32, 172 and HSL of 300°, 69%, 40%. This magenta-red hue evokes romance and playfulness, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AC20AC is #20AC20, creating high-contrast pairings. For softer combinations, try analogous colors like #6620AC.

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

Contrast with #AC20AC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AC20AC?

#AC20AC is a subtle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AC20AC?

#AC20AC in RGB is (172, 32, 172) - 172 red, 32 green, and 172 blue.

How to use #AC20AC in CSS?

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

What colors go well with #AC20AC?

#20AC20 (complementary), #6620AC (analogous), and #6C146C (lighter shade) work well with #AC20AC.