#A31452 Color Information

Hex color code: #A31452

The hex color #A31452 is a eye-catching magenta with RGB values of (163, 20, 82) and HSL of (334°, 78%, 36%). It is widely used in graphic design.

Try:
Color NameBrown
HEX
#A31452
RGB
163, 20, 82
HSL
334°, 78%, 36%
CMYK
0%, 88%, 50%, 36%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A31452; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

163, 20, 82

Red: 163 / Green: 20 / Blue: 82

HSL

334°, 78%, 36%

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

CMYK

0%, 88%, 50%, 36%

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

What color is #A31452?

#A31452 is a red-orange hue associated with warmth and passion.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A31452 to RGB:

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

HEX to HSL

Convert #A31452 to HSL:

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

HEX to CMYK

Convert #A31452 to CMYK:

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

Color Meaning and Usage

#A31452 is a vivid magenta color with RGB values of 163, 20, 82 and HSL of 334°, 78%, 36%. This red-orange hue evokes warmth and passion, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A31452 is #14A365, creating high-contrast pairings. For softer combinations, try analogous colors like #A3149A.

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

Contrast with #A31452

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A31452?

#A31452 is a vivid magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #A31452?

#A31452 in RGB is (163, 20, 82) - 163 red, 20 green, and 82 blue.

How to use #A31452 in CSS?

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

What colors go well with #A31452?

#14A365 (complementary), #A3149A (analogous), and #5F0C30 (lighter shade) work well with #A31452.