#AB307C Color Information

Hex color code: #AB307C

The hex color #AB307C is a muted magenta with RGB values of (171, 48, 124) and HSL of (323°, 56%, 43%). It is typically applied in digital products.

Try:
Color NameMedium Violet Red
HEX
#AB307C
RGB
171, 48, 124
HSL
323°, 56%, 43%
CMYK
0%, 72%, 27%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB307C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 48, 124

Red: 171 / Green: 48 / Blue: 124

HSL

323°, 56%, 43%

Hue: 323° / Saturation: 56% / Lightness: 43%

CMYK

0%, 72%, 27%, 33%

Cyan: 0% / Magenta: 72% / Yellow: 27% / Key: 33%

What color is #AB307C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB307C to RGB:

rgb(171, 48, 124)HEX to RGB Converter →

HEX to HSL

Convert #AB307C to HSL:

hsl(323, 56%, 43%)RGB to HSL Converter →

HEX to CMYK

Convert #AB307C to CMYK:

cmyk(0%, 72%, 27%, 33%)Color Converter →

Color Meaning and Usage

A muted magenta tone, #AB307C has RGB (171, 48, 124) and HSL (323°, 56%, 43%). 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 #AB307C is #30AB5F, creating high-contrast pairings. For softer combinations, try analogous colors like #9D30AB.

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

Contrast with #AB307C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB307C?

#AB307C is a muted magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AB307C?

#AB307C in RGB is (171, 48, 124) - 171 red, 48 green, and 124 blue.

How to use #AB307C in CSS?

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

What colors go well with #AB307C?

#30AB5F (complementary), #9D30AB (analogous), and #6F1F51 (lighter shade) work well with #AB307C.