#AD2E8B Color Information

Hex color code: #AD2E8B

A subtle magenta shade, #AD2E8B appears as (173, 46, 139) in RGB and (316°, 58%, 43%) in HSL. It is often used for branding and logos.

Try:
Color NameMedium Violet Red
HEX
#AD2E8B
RGB
173, 46, 139
HSL
316°, 58%, 43%
CMYK
0%, 73%, 20%, 32%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AD2E8B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

173, 46, 139

Red: 173 / Green: 46 / Blue: 139

HSL

316°, 58%, 43%

Hue: 316° / Saturation: 58% / Lightness: 43%

CMYK

0%, 73%, 20%, 32%

Cyan: 0% / Magenta: 73% / Yellow: 20% / Key: 32%

What color is #AD2E8B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AD2E8B to RGB:

rgb(173, 46, 139)HEX to RGB Converter →

HEX to HSL

Convert #AD2E8B to HSL:

hsl(316, 58%, 43%)RGB to HSL Converter →

HEX to CMYK

Convert #AD2E8B to CMYK:

cmyk(0%, 73%, 20%, 32%)Color Converter →

Color Meaning and Usage

A neutral magenta tone, #AD2E8B has RGB (173, 46, 139) and HSL (316°, 58%, 43%). 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 #AD2E8B is #2EAD50, creating high-contrast pairings. For softer combinations, try analogous colors like #902EAD.

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

Contrast with #AD2E8B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AD2E8B?

#AD2E8B is a neutral magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AD2E8B?

#AD2E8B in RGB is (173, 46, 139) - 173 red, 46 green, and 139 blue.

How to use #AD2E8B in CSS?

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

What colors go well with #AD2E8B?

#2EAD50 (complementary), #902EAD (analogous), and #711E5B (lighter shade) work well with #AD2E8B.