#A31F9C Color Information
Hex color code: #A31F9C
A neutral magenta shade, #A31F9C appears as (163, 31, 156) in RGB and (303°, 68%, 38%) in HSL. It is commonly used in modern UI design.
Shades
color: #A31F9C; background-color: #A31F9C; border-color: #A31F9C; box-shadow: 0 0 10px #A31F9C; border: 2px solid #A31F9C;
bg-[#A31F9C] text-[#A31F9C] border-[#A31F9C] shadow-[0_0_10px_A31F9C]
Generate Gradient
background: linear-gradient(90deg, #A31F9C, #FF5733);
Preview in UI
Button
Badge
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.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
Related Colors
Complementary
Analogous
Triadic
Split Complementary
Tetradic
Monochromatic
Popular Colors
Common HEX Colors
Color Theory
Relationships based on the position of #A31F9C in the color wheel.
RGB, HSL and CMYK Values
RGB
163, 31, 156
Red: 163 / Green: 31 / Blue: 156
HSL
303°, 68%, 38%
Hue: 303° / Saturation: 68% / Lightness: 38%
CMYK
0%, 81%, 4%, 36%
Cyan: 0% / Magenta: 81% / Yellow: 4% / Key: 36%
What color is #A31F9C?
#A31F9C is a magenta-red hue associated with romance and playfulness.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
A subtle magenta tone, #A31F9C has RGB (163, 31, 156) and HSL (303°, 68%, 38%). Known for evoking romance and playfulness, this magenta-red hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #A31F9C is #1FA326, creating high-contrast pairings. For softer combinations, try analogous colors like #671FA3.
Use #A31F9C in CSS: color: #A31F9C or background-color: #A31F9C. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #A31F9C
Sample text on this color - The quick brown fox jumps over the lazy dog.
Need more control? Contrast Checker →
Frequently Asked Questions
What color is #A31F9C?
#A31F9C is a subtle magenta color - a magenta-red hue that evokes romance and playfulness.
What is the RGB value of #A31F9C?
#A31F9C in RGB is (163, 31, 156) - 163 red, 31 green, and 156 blue.
How to use #A31F9C in CSS?
Use #A31F9C directly in your CSS properties like color or background-color.