#AF23AC Color Information

Hex color code: #AF23AC

A balanced magenta shade, #AF23AC appears as (175, 35, 172) in RGB and (301°, 67%, 41%) in HSL. It is frequently seen in web interfaces.

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

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF23AC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 35, 172

Red: 175 / Green: 35 / Blue: 172

HSL

301°, 67%, 41%

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

CMYK

0%, 80%, 2%, 31%

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

What color is #AF23AC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF23AC to RGB:

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

HEX to HSL

Convert #AF23AC to HSL:

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

HEX to CMYK

Convert #AF23AC to CMYK:

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

Color Meaning and Usage

A subtle magenta tone, #AF23AC has RGB (175, 35, 172) and HSL (301°, 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 #AF23AC is #23AF25, creating high-contrast pairings. For softer combinations, try analogous colors like #6B23AF.

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

Contrast with #AF23AC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF23AC?

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

What is the RGB value of #AF23AC?

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

How to use #AF23AC in CSS?

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

What colors go well with #AF23AC?

#23AF25 (complementary), #6B23AF (analogous), and #6F166D (lighter shade) work well with #AF23AC.