#AF507C Color Information

Hex color code: #AF507C

A pastel magenta shade, #AF507C appears as (175, 80, 124) in RGB and (332°, 37%, 50%) in HSL. It is commonly used in modern UI design.

Try:
Color NameIndian Red
HEX
#AF507C
RGB
175, 80, 124
HSL
332°, 37%, 50%
CMYK
0%, 54%, 29%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF507C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 80, 124

Red: 175 / Green: 80 / Blue: 124

HSL

332°, 37%, 50%

Hue: 332° / Saturation: 37% / Lightness: 50%

CMYK

0%, 54%, 29%, 31%

Cyan: 0% / Magenta: 54% / Yellow: 29% / Key: 31%

What color is #AF507C?

#AF507C is a red-orange hue associated with warmth and passion.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF507C to RGB:

rgb(175, 80, 124)HEX to RGB Converter →

HEX to HSL

Convert #AF507C to HSL:

hsl(332, 37%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #AF507C to CMYK:

cmyk(0%, 54%, 29%, 31%)Color Converter →

Color Meaning and Usage

A delicate magenta tone, #AF507C has RGB (175, 80, 124) and HSL (332°, 37%, 50%). Known for evoking warmth and passion, this red-orange hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF507C is #50AF83, creating high-contrast pairings. For softer combinations, try analogous colors like #AF50AC.

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

Contrast with #AF507C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF507C?

#AF507C is a delicate magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #AF507C?

#AF507C in RGB is (175, 80, 124) - 175 red, 80 green, and 124 blue.

How to use #AF507C in CSS?

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

What colors go well with #AF507C?

#50AF83 (complementary), #AF50AC (analogous), and #7A3857 (lighter shade) work well with #AF507C.