#AB3F8D Color Information

Hex color code: #AB3F8D

The hex color #AB3F8D is a soft magenta with RGB values of (171, 63, 141) and HSL of (317°, 46%, 46%). It is widely used in graphic design.

Try:
Color NameViolet Red
HEX
#AB3F8D
RGB
171, 63, 141
HSL
317°, 46%, 46%
CMYK
0%, 63%, 18%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB3F8D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 63, 141

Red: 171 / Green: 63 / Blue: 141

HSL

317°, 46%, 46%

Hue: 317° / Saturation: 46% / Lightness: 46%

CMYK

0%, 63%, 18%, 33%

Cyan: 0% / Magenta: 63% / Yellow: 18% / Key: 33%

What color is #AB3F8D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB3F8D to RGB:

rgb(171, 63, 141)HEX to RGB Converter →

HEX to HSL

Convert #AB3F8D to HSL:

hsl(317, 46%, 46%)RGB to HSL Converter →

HEX to CMYK

Convert #AB3F8D to CMYK:

cmyk(0%, 63%, 18%, 33%)Color Converter →

Color Meaning and Usage

A pastel magenta tone, #AB3F8D has RGB (171, 63, 141) and HSL (317°, 46%, 46%). Known for evoking romance and playfulness, this magenta-red hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB3F8D is #3FAB5E, creating high-contrast pairings. For softer combinations, try analogous colors like #943FAB.

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

Contrast with #AB3F8D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB3F8D?

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

What is the RGB value of #AB3F8D?

#AB3F8D in RGB is (171, 63, 141) - 171 red, 63 green, and 141 blue.

How to use #AB3F8D in CSS?

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

What colors go well with #AB3F8D?

#3FAB5E (complementary), #943FAB (analogous), and #732B5F (lighter shade) work well with #AB3F8D.