#AF3C8A Color Information

Hex color code: #AF3C8A

A soft magenta shade, #AF3C8A appears as (175, 60, 138) in RGB and (319°, 49%, 46%) in HSL. It is typically applied in digital products.

Try:
Color NameViolet Red
HEX
#AF3C8A
RGB
175, 60, 138
HSL
319°, 49%, 46%
CMYK
0%, 66%, 21%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF3C8A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 60, 138

Red: 175 / Green: 60 / Blue: 138

HSL

319°, 49%, 46%

Hue: 319° / Saturation: 49% / Lightness: 46%

CMYK

0%, 66%, 21%, 31%

Cyan: 0% / Magenta: 66% / Yellow: 21% / Key: 31%

What color is #AF3C8A?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF3C8A to RGB:

rgb(175, 60, 138)HEX to RGB Converter →

HEX to HSL

Convert #AF3C8A to HSL:

hsl(319, 49%, 46%)RGB to HSL Converter →

HEX to CMYK

Convert #AF3C8A to CMYK:

cmyk(0%, 66%, 21%, 31%)Color Converter →

Color Meaning and Usage

#AF3C8A is a subtle magenta color with RGB values of 175, 60, 138 and HSL of 319°, 49%, 46%. This magenta-red hue evokes romance and playfulness, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF3C8A is #3CAF60, creating high-contrast pairings. For softer combinations, try analogous colors like #9A3CAF.

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

Contrast with #AF3C8A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF3C8A?

#AF3C8A is a subtle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF3C8A?

#AF3C8A in RGB is (175, 60, 138) - 175 red, 60 green, and 138 blue.

How to use #AF3C8A in CSS?

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

What colors go well with #AF3C8A?

#3CAF60 (complementary), #9A3CAF (analogous), and #76285D (lighter shade) work well with #AF3C8A.