#AA1D8E Color Information

Hex color code: #AA1D8E

#AA1D8E is a vivid magenta color. In RGB it is (170, 29, 142), and in HSL it is (312°, 71%, 39%). It is frequently seen in web interfaces.

Try:
Color NameMedium Violet Red
HEX
#AA1D8E
RGB
170, 29, 142
HSL
312°, 71%, 39%
CMYK
0%, 83%, 16%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AA1D8E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

170, 29, 142

Red: 170 / Green: 29 / Blue: 142

HSL

312°, 71%, 39%

Hue: 312° / Saturation: 71% / Lightness: 39%

CMYK

0%, 83%, 16%, 33%

Cyan: 0% / Magenta: 83% / Yellow: 16% / Key: 33%

What color is #AA1D8E?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AA1D8E to RGB:

rgb(170, 29, 142)HEX to RGB Converter →

HEX to HSL

Convert #AA1D8E to HSL:

hsl(312, 71%, 39%)RGB to HSL Converter →

HEX to CMYK

Convert #AA1D8E to CMYK:

cmyk(0%, 83%, 16%, 33%)Color Converter →

Color Meaning and Usage

#AA1D8E is a eye-catching magenta color with RGB values of 170, 29, 142 and HSL of 312°, 71%, 39%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AA1D8E is #1DAA39, creating high-contrast pairings. For softer combinations, try analogous colors like #801DAA.

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

Contrast with #AA1D8E

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AA1D8E?

#AA1D8E is a eye-catching magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AA1D8E?

#AA1D8E in RGB is (170, 29, 142) - 170 red, 29 green, and 142 blue.

How to use #AA1D8E in CSS?

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

What colors go well with #AA1D8E?

#1DAA39 (complementary), #801DAA (analogous), and #691257 (lighter shade) work well with #AA1D8E.