#AB7CAA Color Information

Hex color code: #AB7CAA

The hex color #AB7CAA is a pastel magenta with RGB values of (171, 124, 170) and HSL of (301°, 22%, 58%). It is commonly used in modern UI design.

Try:
Color NameRosy Brown
HEX
#AB7CAA
RGB
171, 124, 170
HSL
301°, 22%, 58%
CMYK
0%, 27%, 1%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB7CAA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 124, 170

Red: 171 / Green: 124 / Blue: 170

HSL

301°, 22%, 58%

Hue: 301° / Saturation: 22% / Lightness: 58%

CMYK

0%, 27%, 1%, 33%

Cyan: 0% / Magenta: 27% / Yellow: 1% / Key: 33%

What color is #AB7CAA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB7CAA to RGB:

rgb(171, 124, 170)HEX to RGB Converter →

HEX to HSL

Convert #AB7CAA to HSL:

hsl(301, 22%, 58%)RGB to HSL Converter →

HEX to CMYK

Convert #AB7CAA to CMYK:

cmyk(0%, 27%, 1%, 33%)Color Converter →

Color Meaning and Usage

#AB7CAA is a pastel magenta color with RGB values of 171, 124, 170 and HSL of 301°, 22%, 58%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB7CAA is #7CAB7D, creating high-contrast pairings. For softer combinations, try analogous colors like #957CAB.

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

Contrast with #AB7CAA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB7CAA?

#AB7CAA is a pastel magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AB7CAA?

#AB7CAA in RGB is (171, 124, 170) - 171 red, 124 green, and 170 blue.

How to use #AB7CAA in CSS?

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

What colors go well with #AB7CAA?

#7CAB7D (complementary), #957CAB (analogous), and #865685 (lighter shade) work well with #AB7CAA.