#AB1794 Color Information

Hex color code: #AB1794

#AB1794 is a bold magenta color. In RGB it is (171, 23, 148), and in HSL it is (309°, 76%, 38%). It is frequently seen in web interfaces.

Try:
Color NameMedium Violet Red
HEX
#AB1794
RGB
171, 23, 148
HSL
309°, 76%, 38%
CMYK
0%, 87%, 13%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB1794; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 23, 148

Red: 171 / Green: 23 / Blue: 148

HSL

309°, 76%, 38%

Hue: 309° / Saturation: 76% / Lightness: 38%

CMYK

0%, 87%, 13%, 33%

Cyan: 0% / Magenta: 87% / Yellow: 13% / Key: 33%

What color is #AB1794?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB1794 to RGB:

rgb(171, 23, 148)HEX to RGB Converter →

HEX to HSL

Convert #AB1794 to HSL:

hsl(309, 76%, 38%)RGB to HSL Converter →

HEX to CMYK

Convert #AB1794 to CMYK:

cmyk(0%, 87%, 13%, 33%)Color Converter →

Color Meaning and Usage

A striking magenta tone, #AB1794 has RGB (171, 23, 148) and HSL (309°, 76%, 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 #AB1794 is #17AB2D, creating high-contrast pairings. For softer combinations, try analogous colors like #7717AB.

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

Contrast with #AB1794

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB1794?

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

What is the RGB value of #AB1794?

#AB1794 in RGB is (171, 23, 148) - 171 red, 23 green, and 148 blue.

How to use #AB1794 in CSS?

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

What colors go well with #AB1794?

#17AB2D (complementary), #7717AB (analogous), and #670E5A (lighter shade) work well with #AB1794.