#AC23AF Color Information

Hex color code: #AC23AF

A subtle magenta shade, #AC23AF appears as (172, 35, 175) in RGB and (299°, 67%, 41%) in HSL. It is popular in mobile app design.

Try:
Color NameDark Orchid
HEX
#AC23AF
RGB
172, 35, 175
HSL
299°, 67%, 41%
CMYK
2%, 80%, 0%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AC23AF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

172, 35, 175

Red: 172 / Green: 35 / Blue: 175

HSL

299°, 67%, 41%

Hue: 299° / Saturation: 67% / Lightness: 41%

CMYK

2%, 80%, 0%, 31%

Cyan: 2% / Magenta: 80% / Yellow: 0% / Key: 31%

What color is #AC23AF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AC23AF to RGB:

rgb(172, 35, 175)HEX to RGB Converter →

HEX to HSL

Convert #AC23AF to HSL:

hsl(299, 67%, 41%)RGB to HSL Converter →

HEX to CMYK

Convert #AC23AF to CMYK:

cmyk(2%, 80%, 0%, 31%)Color Converter →

Color Meaning and Usage

A balanced magenta tone, #AC23AF has RGB (172, 35, 175) and HSL (299°, 67%, 41%). Known for evoking romance and playfulness, this magenta-red hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AC23AF is #25AF23, creating high-contrast pairings. For softer combinations, try analogous colors like #6623AF.

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

Contrast with #AC23AF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AC23AF?

#AC23AF is a balanced magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AC23AF?

#AC23AF in RGB is (172, 35, 175) - 172 red, 35 green, and 175 blue.

How to use #AC23AF in CSS?

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

What colors go well with #AC23AF?

#25AF23 (complementary), #6623AF (analogous), and #6D166F (lighter shade) work well with #AC23AF.