#AB4DAC Color Information

Hex color code: #AB4DAC

#AB4DAC is a subtle magenta color. In RGB it is (171, 77, 172), and in HSL it is (299°, 38%, 49%). It is popular in mobile app design.

Try:
Color NameMedium Orchid
HEX
#AB4DAC
RGB
171, 77, 172
HSL
299°, 38%, 49%
CMYK
1%, 55%, 0%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB4DAC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 77, 172

Red: 171 / Green: 77 / Blue: 172

HSL

299°, 38%, 49%

Hue: 299° / Saturation: 38% / Lightness: 49%

CMYK

1%, 55%, 0%, 33%

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

What color is #AB4DAC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB4DAC to RGB:

rgb(171, 77, 172)HEX to RGB Converter →

HEX to HSL

Convert #AB4DAC to HSL:

hsl(299, 38%, 49%)RGB to HSL Converter →

HEX to CMYK

Convert #AB4DAC to CMYK:

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

Color Meaning and Usage

#AB4DAC is a delicate magenta color with RGB values of 171, 77, 172 and HSL of 299°, 38%, 49%. This magenta-red hue evokes romance and playfulness, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB4DAC is #4FAC4D, creating high-contrast pairings. For softer combinations, try analogous colors like #7B4DAC.

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

Contrast with #AB4DAC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB4DAC?

#AB4DAC is a delicate magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AB4DAC?

#AB4DAC in RGB is (171, 77, 172) - 171 red, 77 green, and 172 blue.

How to use #AB4DAC in CSS?

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

What colors go well with #AB4DAC?

#4FAC4D (complementary), #7B4DAC (analogous), and #773678 (lighter shade) work well with #AB4DAC.