#AB8EAF Color Information

Hex color code: #AB8EAF

#AB8EAF is a understated magenta color. In RGB it is (171, 142, 175), and in HSL it is (293°, 17%, 62%). It is popular in mobile app design.

Try:
Color NameRosy Brown
HEX
#AB8EAF
RGB
171, 142, 175
HSL
293°, 17%, 62%
CMYK
2%, 19%, 0%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB8EAF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 142, 175

Red: 171 / Green: 142 / Blue: 175

HSL

293°, 17%, 62%

Hue: 293° / Saturation: 17% / Lightness: 62%

CMYK

2%, 19%, 0%, 31%

Cyan: 2% / Magenta: 19% / Yellow: 0% / Key: 31%

What color is #AB8EAF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB8EAF to RGB:

rgb(171, 142, 175)HEX to RGB Converter →

HEX to HSL

Convert #AB8EAF to HSL:

hsl(293, 17%, 62%)RGB to HSL Converter →

HEX to CMYK

Convert #AB8EAF to CMYK:

cmyk(2%, 19%, 0%, 31%)Color Converter →

Color Meaning and Usage

A understated magenta tone, #AB8EAF has RGB (171, 142, 175) and HSL (293°, 17%, 62%). Known for evoking romance and playfulness, this magenta-red hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB8EAF is #91AF8E, creating high-contrast pairings. For softer combinations, try analogous colors like #9A8EAF.

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

Contrast with #AB8EAF

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

Contrast Ratio: 7.22:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB8EAF?

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

What is the RGB value of #AB8EAF?

#AB8EAF in RGB is (171, 142, 175) - 171 red, 142 green, and 175 blue.

How to use #AB8EAF in CSS?

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

What colors go well with #AB8EAF?

#91AF8E (complementary), #9A8EAF (analogous), and #87638C (lighter shade) work well with #AB8EAF.