#AF23AA Color Information

Hex color code: #AF23AA

The hex color #AF23AA is a subtle magenta with RGB values of (175, 35, 170) and HSL of (302°, 67%, 41%). It is popular in mobile app design.

Try:
Color NameViolet Red
HEX
#AF23AA
RGB
175, 35, 170
HSL
302°, 67%, 41%
CMYK
0%, 80%, 3%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF23AA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 35, 170

Red: 175 / Green: 35 / Blue: 170

HSL

302°, 67%, 41%

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

CMYK

0%, 80%, 3%, 31%

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

What color is #AF23AA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF23AA to RGB:

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

HEX to HSL

Convert #AF23AA to HSL:

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

HEX to CMYK

Convert #AF23AA to CMYK:

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

Color Meaning and Usage

#AF23AA is a balanced magenta color with RGB values of 175, 35, 170 and HSL of 302°, 67%, 41%. This magenta-red hue evokes romance and playfulness, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF23AA is #23AF27, creating high-contrast pairings. For softer combinations, try analogous colors like #6D23AF.

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

Contrast with #AF23AA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF23AA?

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

What is the RGB value of #AF23AA?

#AF23AA in RGB is (175, 35, 170) - 175 red, 35 green, and 170 blue.

How to use #AF23AA in CSS?

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

What colors go well with #AF23AA?

#23AF27 (complementary), #6D23AF (analogous), and #6F166C (lighter shade) work well with #AF23AA.