#A71B7A Color Information

Hex color code: #A71B7A

The hex color #A71B7A is a bold magenta with RGB values of (167, 27, 122) and HSL of (319°, 72%, 38%). It is often used for branding and logos.

Try:
Color NameMedium Violet Red
HEX
#A71B7A
RGB
167, 27, 122
HSL
319°, 72%, 38%
CMYK
0%, 84%, 27%, 35%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A71B7A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

167, 27, 122

Red: 167 / Green: 27 / Blue: 122

HSL

319°, 72%, 38%

Hue: 319° / Saturation: 72% / Lightness: 38%

CMYK

0%, 84%, 27%, 35%

Cyan: 0% / Magenta: 84% / Yellow: 27% / Key: 35%

What color is #A71B7A?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A71B7A to RGB:

rgb(167, 27, 122)HEX to RGB Converter →

HEX to HSL

Convert #A71B7A to HSL:

hsl(319, 72%, 38%)RGB to HSL Converter →

HEX to CMYK

Convert #A71B7A to CMYK:

cmyk(0%, 84%, 27%, 35%)Color Converter →

Color Meaning and Usage

A vivid magenta tone, #A71B7A has RGB (167, 27, 122) and HSL (319°, 72%, 38%). Known for evoking romance and playfulness, this magenta-red hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A71B7A is #1BA747, creating high-contrast pairings. For softer combinations, try analogous colors like #8D1BA7.

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

Contrast with #A71B7A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A71B7A?

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

What is the RGB value of #A71B7A?

#A71B7A in RGB is (167, 27, 122) - 167 red, 27 green, and 122 blue.

How to use #A71B7A in CSS?

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

What colors go well with #A71B7A?

#1BA747 (complementary), #8D1BA7 (analogous), and #65104A (lighter shade) work well with #A71B7A.