#AB5CB7 Color Information

Hex color code: #AB5CB7

A gentle magenta shade, #AB5CB7 appears as (171, 92, 183) in RGB and (292°, 39%, 54%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameMedium Orchid
HEX
#AB5CB7
RGB
171, 92, 183
HSL
292°, 39%, 54%
CMYK
7%, 50%, 0%, 28%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB5CB7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 92, 183

Red: 171 / Green: 92 / Blue: 183

HSL

292°, 39%, 54%

Hue: 292° / Saturation: 39% / Lightness: 54%

CMYK

7%, 50%, 0%, 28%

Cyan: 7% / Magenta: 50% / Yellow: 0% / Key: 28%

What color is #AB5CB7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB5CB7 to RGB:

rgb(171, 92, 183)HEX to RGB Converter →

HEX to HSL

Convert #AB5CB7 to HSL:

hsl(292, 39%, 54%)RGB to HSL Converter →

HEX to CMYK

Convert #AB5CB7 to CMYK:

cmyk(7%, 50%, 0%, 28%)Color Converter →

Color Meaning and Usage

A pastel magenta tone, #AB5CB7 has RGB (171, 92, 183) and HSL (292°, 39%, 54%). Known for evoking romance and playfulness, this magenta-red hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB5CB7 is #68B75C, creating high-contrast pairings. For softer combinations, try analogous colors like #7E5CB7.

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

Contrast with #AB5CB7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB5CB7?

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

What is the RGB value of #AB5CB7?

#AB5CB7 in RGB is (171, 92, 183) - 171 red, 92 green, and 183 blue.

How to use #AB5CB7 in CSS?

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

What colors go well with #AB5CB7?

#68B75C (complementary), #7E5CB7 (analogous), and #803D8A (lighter shade) work well with #AB5CB7.