#A31471 Color Information

Hex color code: #A31471

#A31471 is a striking magenta color. In RGB it is (163, 20, 113), and in HSL it is (321°, 78%, 36%). It is often used for branding and logos.

Try:
Color NameDark Magenta
HEX
#A31471
RGB
163, 20, 113
HSL
321°, 78%, 36%
CMYK
0%, 88%, 31%, 36%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A31471; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

163, 20, 113

Red: 163 / Green: 20 / Blue: 113

HSL

321°, 78%, 36%

Hue: 321° / Saturation: 78% / Lightness: 36%

CMYK

0%, 88%, 31%, 36%

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

What color is #A31471?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A31471 to RGB:

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

HEX to HSL

Convert #A31471 to HSL:

hsl(321, 78%, 36%)RGB to HSL Converter →

HEX to CMYK

Convert #A31471 to CMYK:

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

Color Meaning and Usage

A dynamic magenta tone, #A31471 has RGB (163, 20, 113) and HSL (321°, 78%, 36%). 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 #A31471 is #14A346, creating high-contrast pairings. For softer combinations, try analogous colors like #8E14A3.

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

Contrast with #A31471

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 #A31471?

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

What is the RGB value of #A31471?

#A31471 in RGB is (163, 20, 113) - 163 red, 20 green, and 113 blue.

How to use #A31471 in CSS?

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

What colors go well with #A31471?

#14A346 (complementary), #8E14A3 (analogous), and #5F0C42 (lighter shade) work well with #A31471.