#A21673 Color Information

Hex color code: #A21673

The hex color #A21673 is a dynamic magenta with RGB values of (162, 22, 115) and HSL of (320°, 76%, 36%). It is widely used in graphic design.

Try:
Color NameDark Magenta
HEX
#A21673
RGB
162, 22, 115
HSL
320°, 76%, 36%
CMYK
0%, 86%, 29%, 36%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A21673; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

162, 22, 115

Red: 162 / Green: 22 / Blue: 115

HSL

320°, 76%, 36%

Hue: 320° / Saturation: 76% / Lightness: 36%

CMYK

0%, 86%, 29%, 36%

Cyan: 0% / Magenta: 86% / Yellow: 29% / Key: 36%

What color is #A21673?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A21673 to RGB:

rgb(162, 22, 115)HEX to RGB Converter →

HEX to HSL

Convert #A21673 to HSL:

hsl(320, 76%, 36%)RGB to HSL Converter →

HEX to CMYK

Convert #A21673 to CMYK:

cmyk(0%, 86%, 29%, 36%)Color Converter →

Color Meaning and Usage

#A21673 is a dynamic magenta color with RGB values of 162, 22, 115 and HSL of 320°, 76%, 36%. This magenta-red hue evokes romance and playfulness, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A21673 is #16A245, creating high-contrast pairings. For softer combinations, try analogous colors like #8A16A2.

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

Contrast with #A21673

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A21673?

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

What is the RGB value of #A21673?

#A21673 in RGB is (162, 22, 115) - 162 red, 22 green, and 115 blue.

How to use #A21673 in CSS?

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

What colors go well with #A21673?

#16A245 (complementary), #8A16A2 (analogous), and #5E0D43 (lighter shade) work well with #A21673.