#AA40BF Color Information

Hex color code: #AA40BF

A balanced magenta shade, #AA40BF appears as (170, 64, 191) in RGB and (290°, 50%, 50%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameDark Orchid
HEX
#AA40BF
RGB
170, 64, 191
HSL
290°, 50%, 50%
CMYK
11%, 66%, 0%, 25%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AA40BF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

170, 64, 191

Red: 170 / Green: 64 / Blue: 191

HSL

290°, 50%, 50%

Hue: 290° / Saturation: 50% / Lightness: 50%

CMYK

11%, 66%, 0%, 25%

Cyan: 11% / Magenta: 66% / Yellow: 0% / Key: 25%

What color is #AA40BF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AA40BF to RGB:

rgb(170, 64, 191)HEX to RGB Converter →

HEX to HSL

Convert #AA40BF to HSL:

hsl(290, 50%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #AA40BF to CMYK:

cmyk(11%, 66%, 0%, 25%)Color Converter →

Color Meaning and Usage

A balanced magenta tone, #AA40BF has RGB (170, 64, 191) and HSL (290°, 50%, 50%). 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 #AA40BF is #55BF40, creating high-contrast pairings. For softer combinations, try analogous colors like #6A40BF.

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

Contrast with #AA40BF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AA40BF?

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

What is the RGB value of #AA40BF?

#AA40BF in RGB is (170, 64, 191) - 170 red, 64 green, and 191 blue.

How to use #AA40BF in CSS?

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

What colors go well with #AA40BF?

#55BF40 (complementary), #6A40BF (analogous), and #772D86 (lighter shade) work well with #AA40BF.