#AC157A Color Information

Hex color code: #AC157A

#AC157A is a bold magenta color. In RGB it is (172, 21, 122), and in HSL it is (320°, 78%, 38%). It is frequently seen in web interfaces.

Try:
Color NameMedium Violet Red
HEX
#AC157A
RGB
172, 21, 122
HSL
320°, 78%, 38%
CMYK
0%, 88%, 29%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AC157A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

172, 21, 122

Red: 172 / Green: 21 / Blue: 122

HSL

320°, 78%, 38%

Hue: 320° / Saturation: 78% / Lightness: 38%

CMYK

0%, 88%, 29%, 33%

Cyan: 0% / Magenta: 88% / Yellow: 29% / Key: 33%

What color is #AC157A?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AC157A to RGB:

rgb(172, 21, 122)HEX to RGB Converter →

HEX to HSL

Convert #AC157A to HSL:

hsl(320, 78%, 38%)RGB to HSL Converter →

HEX to CMYK

Convert #AC157A to CMYK:

cmyk(0%, 88%, 29%, 33%)Color Converter →

Color Meaning and Usage

#AC157A is a eye-catching magenta color with RGB values of 172, 21, 122 and HSL of 320°, 78%, 38%. This magenta-red hue evokes romance and playfulness, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AC157A is #15AC48, creating high-contrast pairings. For softer combinations, try analogous colors like #9315AC.

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

Contrast with #AC157A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AC157A?

#AC157A is a eye-catching magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AC157A?

#AC157A in RGB is (172, 21, 122) - 172 red, 21 green, and 122 blue.

How to use #AC157A in CSS?

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

What colors go well with #AC157A?

#15AC48 (complementary), #9315AC (analogous), and #680D4A (lighter shade) work well with #AC157A.