#AB56B3 Color Information

Hex color code: #AB56B3

A gentle magenta shade, #AB56B3 appears as (171, 86, 179) in RGB and (295°, 38%, 52%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameMedium Orchid
HEX
#AB56B3
RGB
171, 86, 179
HSL
295°, 38%, 52%
CMYK
4%, 52%, 0%, 30%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB56B3; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 86, 179

Red: 171 / Green: 86 / Blue: 179

HSL

295°, 38%, 52%

Hue: 295° / Saturation: 38% / Lightness: 52%

CMYK

4%, 52%, 0%, 30%

Cyan: 4% / Magenta: 52% / Yellow: 0% / Key: 30%

What color is #AB56B3?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB56B3 to RGB:

rgb(171, 86, 179)HEX to RGB Converter →

HEX to HSL

Convert #AB56B3 to HSL:

hsl(295, 38%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #AB56B3 to CMYK:

cmyk(4%, 52%, 0%, 30%)Color Converter →

Color Meaning and Usage

A pastel magenta tone, #AB56B3 has RGB (171, 86, 179) and HSL (295°, 38%, 52%). Known for evoking romance and playfulness, this magenta-red hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB56B3 is #5EB356, creating high-contrast pairings. For softer combinations, try analogous colors like #7D56B3.

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

Contrast with #AB56B3

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB56B3?

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

What is the RGB value of #AB56B3?

#AB56B3 in RGB is (171, 86, 179) - 171 red, 86 green, and 179 blue.

How to use #AB56B3 in CSS?

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

What colors go well with #AB56B3?

#5EB356 (complementary), #7D56B3 (analogous), and #7C3A82 (lighter shade) work well with #AB56B3.