#A31991 Color Information

Hex color code: #A31991

The hex color #A31991 is a eye-catching magenta with RGB values of (163, 25, 145) and HSL of (308°, 73%, 37%). It is popular in mobile app design.

Try:
Color NameDark Magenta
HEX
#A31991
RGB
163, 25, 145
HSL
308°, 73%, 37%
CMYK
0%, 85%, 11%, 36%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A31991; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

163, 25, 145

Red: 163 / Green: 25 / Blue: 145

HSL

308°, 73%, 37%

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

CMYK

0%, 85%, 11%, 36%

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

What color is #A31991?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A31991 to RGB:

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

HEX to HSL

Convert #A31991 to HSL:

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

HEX to CMYK

Convert #A31991 to CMYK:

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

Color Meaning and Usage

A vivid magenta tone, #A31991 has RGB (163, 25, 145) and HSL (308°, 73%, 37%). Known for evoking romance and playfulness, this magenta-red hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A31991 is #19A32C, creating high-contrast pairings. For softer combinations, try analogous colors like #7119A3.

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

Contrast with #A31991

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A31991?

#A31991 is a vivid magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #A31991?

#A31991 in RGB is (163, 25, 145) - 163 red, 25 green, and 145 blue.

How to use #A31991 in CSS?

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

What colors go well with #A31991?

#19A32C (complementary), #7119A3 (analogous), and #610F56 (lighter shade) work well with #A31991.