#AC22CE Color Information

Hex color code: #AC22CE

A bold magenta shade, #AC22CE appears as (172, 34, 206) in RGB and (288°, 72%, 47%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameDark Orchid
HEX
#AC22CE
RGB
172, 34, 206
HSL
288°, 72%, 47%
CMYK
17%, 83%, 0%, 19%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AC22CE; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

172, 34, 206

Red: 172 / Green: 34 / Blue: 206

HSL

288°, 72%, 47%

Hue: 288° / Saturation: 72% / Lightness: 47%

CMYK

17%, 83%, 0%, 19%

Cyan: 17% / Magenta: 83% / Yellow: 0% / Key: 19%

What color is #AC22CE?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AC22CE to RGB:

rgb(172, 34, 206)HEX to RGB Converter →

HEX to HSL

Convert #AC22CE to HSL:

hsl(288, 72%, 47%)RGB to HSL Converter →

HEX to CMYK

Convert #AC22CE to CMYK:

cmyk(17%, 83%, 0%, 19%)Color Converter →

Color Meaning and Usage

A dynamic magenta tone, #AC22CE has RGB (172, 34, 206) and HSL (288°, 72%, 47%). Known for evoking romance and playfulness, this magenta-red hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AC22CE is #44CE22, creating high-contrast pairings. For softer combinations, try analogous colors like #5522CE.

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

Contrast with #AC22CE

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AC22CE?

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

What is the RGB value of #AC22CE?

#AC22CE in RGB is (172, 34, 206) - 172 red, 34 green, and 206 blue.

How to use #AC22CE in CSS?

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

What colors go well with #AC22CE?

#44CE22 (complementary), #5522CE (analogous), and #75178C (lighter shade) work well with #AC22CE.