#A31971 Color Information

Hex color code: #A31971

The hex color #A31971 is a bold magenta with RGB values of (163, 25, 113) and HSL of (322°, 73%, 37%). It is frequently seen in web interfaces.

Try:
Color NameMedium Violet Red
HEX
#A31971
RGB
163, 25, 113
HSL
322°, 73%, 37%
CMYK
0%, 85%, 31%, 36%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A31971; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

163, 25, 113

Red: 163 / Green: 25 / Blue: 113

HSL

322°, 73%, 37%

Hue: 322° / Saturation: 73% / Lightness: 37%

CMYK

0%, 85%, 31%, 36%

Cyan: 0% / Magenta: 85% / Yellow: 31% / Key: 36%

What color is #A31971?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A31971 to RGB:

rgb(163, 25, 113)HEX to RGB Converter →

HEX to HSL

Convert #A31971 to HSL:

hsl(322, 73%, 37%)RGB to HSL Converter →

HEX to CMYK

Convert #A31971 to CMYK:

cmyk(0%, 85%, 31%, 36%)Color Converter →

Color Meaning and Usage

A bold magenta tone, #A31971 has RGB (163, 25, 113) and HSL (322°, 73%, 37%). Known for evoking romance and playfulness, this magenta-red hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A31971 is #19A34C, creating high-contrast pairings. For softer combinations, try analogous colors like #9119A3.

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

Contrast with #A31971

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A31971?

#A31971 is a bold magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #A31971?

#A31971 in RGB is (163, 25, 113) - 163 red, 25 green, and 113 blue.

How to use #A31971 in CSS?

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

What colors go well with #A31971?

#19A34C (complementary), #9119A3 (analogous), and #610F43 (lighter shade) work well with #A31971.