#A31F6C Color Information

Hex color code: #A31F6C

The hex color #A31F6C is a subtle magenta with RGB values of (163, 31, 108) and HSL of (325°, 68%, 38%). It is popular in mobile app design.

Try:
Color NameMedium Violet Red
HEX
#A31F6C
RGB
163, 31, 108
HSL
325°, 68%, 38%
CMYK
0%, 81%, 34%, 36%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A31F6C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

163, 31, 108

Red: 163 / Green: 31 / Blue: 108

HSL

325°, 68%, 38%

Hue: 325° / Saturation: 68% / Lightness: 38%

CMYK

0%, 81%, 34%, 36%

Cyan: 0% / Magenta: 81% / Yellow: 34% / Key: 36%

What color is #A31F6C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A31F6C to RGB:

rgb(163, 31, 108)HEX to RGB Converter →

HEX to HSL

Convert #A31F6C to HSL:

hsl(325, 68%, 38%)RGB to HSL Converter →

HEX to CMYK

Convert #A31F6C to CMYK:

cmyk(0%, 81%, 34%, 36%)Color Converter →

Color Meaning and Usage

A muted magenta tone, #A31F6C has RGB (163, 31, 108) and HSL (325°, 68%, 38%). Known for evoking romance and playfulness, this magenta-red hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A31F6C is #1FA356, creating high-contrast pairings. For softer combinations, try analogous colors like #981FA3.

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

Contrast with #A31F6C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A31F6C?

#A31F6C is a muted magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #A31F6C?

#A31F6C in RGB is (163, 31, 108) - 163 red, 31 green, and 108 blue.

How to use #A31F6C in CSS?

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

What colors go well with #A31F6C?

#1FA356 (complementary), #981FA3 (analogous), and #631341 (lighter shade) work well with #A31F6C.