#A21FBD Color Information

Hex color code: #A21FBD

A vivid magenta shade, #A21FBD appears as (162, 31, 189) in RGB and (290°, 72%, 43%) in HSL. It is commonly used in modern UI design.

Try:
Color NameDark Orchid
HEX
#A21FBD
RGB
162, 31, 189
HSL
290°, 72%, 43%
CMYK
14%, 84%, 0%, 26%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A21FBD; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

162, 31, 189

Red: 162 / Green: 31 / Blue: 189

HSL

290°, 72%, 43%

Hue: 290° / Saturation: 72% / Lightness: 43%

CMYK

14%, 84%, 0%, 26%

Cyan: 14% / Magenta: 84% / Yellow: 0% / Key: 26%

What color is #A21FBD?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A21FBD to RGB:

rgb(162, 31, 189)HEX to RGB Converter →

HEX to HSL

Convert #A21FBD to HSL:

hsl(290, 72%, 43%)RGB to HSL Converter →

HEX to CMYK

Convert #A21FBD to CMYK:

cmyk(14%, 84%, 0%, 26%)Color Converter →

Color Meaning and Usage

A dynamic magenta tone, #A21FBD has RGB (162, 31, 189) and HSL (290°, 72%, 43%). Known for evoking romance and playfulness, this magenta-red hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A21FBD is #39BD1F, creating high-contrast pairings. For softer combinations, try analogous colors like #531FBD.

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

Contrast with #A21FBD

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A21FBD?

#A21FBD is a dynamic magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #A21FBD?

#A21FBD in RGB is (162, 31, 189) - 162 red, 31 green, and 189 blue.

How to use #A21FBD in CSS?

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

What colors go well with #A21FBD?

#39BD1F (complementary), #531FBD (analogous), and #6A147B (lighter shade) work well with #A21FBD.