#AF50AF Color Information

Hex color code: #AF50AF

A delicate magenta shade, #AF50AF appears as (175, 80, 175) in RGB and (300°, 37%, 50%) in HSL. It is widely used in graphic design.

Try:
Color NameMedium Orchid
HEX
#AF50AF
RGB
175, 80, 175
HSL
300°, 37%, 50%
CMYK
0%, 54%, 0%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #AF50AF; color: #000000; }

Badge

New Feature
.badge { background-color: #AF50AF; color: #000000; }

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 #AF50AF; background-color: #AF50AF15; }

Alert / Toast

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

Link / Accent

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

a { color: #AF50AF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 80, 175

Red: 175 / Green: 80 / Blue: 175

HSL

300°, 37%, 50%

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

CMYK

0%, 54%, 0%, 31%

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

What color is #AF50AF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF50AF to RGB:

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

HEX to HSL

Convert #AF50AF to HSL:

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

HEX to CMYK

Convert #AF50AF to CMYK:

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

Color Meaning and Usage

#AF50AF is a subtle magenta color with RGB values of 175, 80, 175 and HSL of 300°, 37%, 50%. 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 #AF50AF is #50AF50, creating high-contrast pairings. For softer combinations, try analogous colors like #8050AF.

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

Contrast with #AF50AF

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

Contrast Ratio: 4.59:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF50AF?

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

What is the RGB value of #AF50AF?

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

How to use #AF50AF in CSS?

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

What colors go well with #AF50AF?

#50AF50 (complementary), #8050AF (analogous), and #7A387A (lighter shade) work well with #AF50AF.