#AB7FA1 Color Information

Hex color code: #AB7FA1

#AB7FA1 is a delicate magenta color. In RGB it is (171, 127, 161), and in HSL it is (314°, 21%, 58%). It is widely used in graphic design.

Try:
Color NameRosy Brown
HEX
#AB7FA1
RGB
171, 127, 161
HSL
314°, 21%, 58%
CMYK
0%, 26%, 6%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #AB7FA1; color: #000000; }

Badge

New Feature
.badge { background-color: #AB7FA1; color: #000000; }

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 #AB7FA1; background-color: #AB7FA115; }

Alert / Toast

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

Link / Accent

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

a { color: #AB7FA1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 127, 161

Red: 171 / Green: 127 / Blue: 161

HSL

314°, 21%, 58%

Hue: 314° / Saturation: 21% / Lightness: 58%

CMYK

0%, 26%, 6%, 33%

Cyan: 0% / Magenta: 26% / Yellow: 6% / Key: 33%

What color is #AB7FA1?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB7FA1 to RGB:

rgb(171, 127, 161)HEX to RGB Converter →

HEX to HSL

Convert #AB7FA1 to HSL:

hsl(314, 21%, 58%)RGB to HSL Converter →

HEX to CMYK

Convert #AB7FA1 to CMYK:

cmyk(0%, 26%, 6%, 33%)Color Converter →

Color Meaning and Usage

#AB7FA1 is a soft magenta color with RGB values of 171, 127, 161 and HSL of 314°, 21%, 58%. This magenta-red hue evokes romance and playfulness, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB7FA1 is #7DAA88, creating high-contrast pairings. For softer combinations, try analogous colors like #9E7DAA.

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

Contrast with #AB7FA1

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

Contrast Ratio: 6.28:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB7FA1?

#AB7FA1 is a soft magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AB7FA1?

#AB7FA1 in RGB is (171, 127, 161) - 171 red, 127 green, and 161 blue.

How to use #AB7FA1 in CSS?

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

What colors go well with #AB7FA1?

#7DAA88 (complementary), #9E7DAA (analogous), and #85577A (lighter shade) work well with #AB7FA1.