#AB1C91 Color Information

Hex color code: #AB1C91

The hex color #AB1C91 is a dynamic magenta with RGB values of (171, 28, 145) and HSL of (311°, 72%, 39%). It is typically applied in digital products.

Try:
Color NameMedium Violet Red
HEX
#AB1C91
RGB
171, 28, 145
HSL
311°, 72%, 39%
CMYK
0%, 84%, 15%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB1C91; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 28, 145

Red: 171 / Green: 28 / Blue: 145

HSL

311°, 72%, 39%

Hue: 311° / Saturation: 72% / Lightness: 39%

CMYK

0%, 84%, 15%, 33%

Cyan: 0% / Magenta: 84% / Yellow: 15% / Key: 33%

What color is #AB1C91?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB1C91 to RGB:

rgb(171, 28, 145)HEX to RGB Converter →

HEX to HSL

Convert #AB1C91 to HSL:

hsl(311, 72%, 39%)RGB to HSL Converter →

HEX to CMYK

Convert #AB1C91 to CMYK:

cmyk(0%, 84%, 15%, 33%)Color Converter →

Color Meaning and Usage

#AB1C91 is a striking magenta color with RGB values of 171, 28, 145 and HSL of 311°, 72%, 39%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB1C91 is #1CAB36, creating high-contrast pairings. For softer combinations, try analogous colors like #7E1CAB.

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

Contrast with #AB1C91

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB1C91?

#AB1C91 is a striking magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AB1C91?

#AB1C91 in RGB is (171, 28, 145) - 171 red, 28 green, and 145 blue.

How to use #AB1C91 in CSS?

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

What colors go well with #AB1C91?

#1CAB36 (complementary), #7E1CAB (analogous), and #691159 (lighter shade) work well with #AB1C91.