#AB26A5 Color Information

Hex color code: #AB26A5

The hex color #AB26A5 is a balanced magenta with RGB values of (171, 38, 165) and HSL of (303°, 64%, 41%). It is frequently seen in web interfaces.

Try:
Color NameViolet Red
HEX
#AB26A5
RGB
171, 38, 165
HSL
303°, 64%, 41%
CMYK
0%, 78%, 4%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB26A5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 38, 165

Red: 171 / Green: 38 / Blue: 165

HSL

303°, 64%, 41%

Hue: 303° / Saturation: 64% / Lightness: 41%

CMYK

0%, 78%, 4%, 33%

Cyan: 0% / Magenta: 78% / Yellow: 4% / Key: 33%

What color is #AB26A5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB26A5 to RGB:

rgb(171, 38, 165)HEX to RGB Converter →

HEX to HSL

Convert #AB26A5 to HSL:

hsl(303, 64%, 41%)RGB to HSL Converter →

HEX to CMYK

Convert #AB26A5 to CMYK:

cmyk(0%, 78%, 4%, 33%)Color Converter →

Color Meaning and Usage

#AB26A5 is a understated magenta color with RGB values of 171, 38, 165 and HSL of 303°, 64%, 41%. This magenta-red hue evokes romance and playfulness, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB26A5 is #26AB2C, creating high-contrast pairings. For softer combinations, try analogous colors like #6F26AB.

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

Contrast with #AB26A5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB26A5?

#AB26A5 is a understated magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AB26A5?

#AB26A5 in RGB is (171, 38, 165) - 171 red, 38 green, and 165 blue.

How to use #AB26A5 in CSS?

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

What colors go well with #AB26A5?

#26AB2C (complementary), #6F26AB (analogous), and #6D1868 (lighter shade) work well with #AB26A5.