#AF5FB4 Color Information

Hex color code: #AF5FB4

A soft magenta shade, #AF5FB4 appears as (175, 95, 180) in RGB and (296°, 36%, 54%) in HSL. It is typically applied in digital products.

Try:
Color NameMedium Orchid
HEX
#AF5FB4
RGB
175, 95, 180
HSL
296°, 36%, 54%
CMYK
3%, 47%, 0%, 29%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF5FB4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 95, 180

Red: 175 / Green: 95 / Blue: 180

HSL

296°, 36%, 54%

Hue: 296° / Saturation: 36% / Lightness: 54%

CMYK

3%, 47%, 0%, 29%

Cyan: 3% / Magenta: 47% / Yellow: 0% / Key: 29%

What color is #AF5FB4?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF5FB4 to RGB:

rgb(175, 95, 180)HEX to RGB Converter →

HEX to HSL

Convert #AF5FB4 to HSL:

hsl(296, 36%, 54%)RGB to HSL Converter →

HEX to CMYK

Convert #AF5FB4 to CMYK:

cmyk(3%, 47%, 0%, 29%)Color Converter →

Color Meaning and Usage

A pastel magenta tone, #AF5FB4 has RGB (175, 95, 180) and HSL (296°, 36%, 54%). Known for evoking romance and playfulness, this magenta-red hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF5FB4 is #65B45F, creating high-contrast pairings. For softer combinations, try analogous colors like #845FB4.

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

Contrast with #AF5FB4

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF5FB4?

#AF5FB4 is a pastel magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF5FB4?

#AF5FB4 in RGB is (175, 95, 180) - 175 red, 95 green, and 180 blue.

How to use #AF5FB4 in CSS?

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

What colors go well with #AF5FB4?

#65B45F (complementary), #845FB4 (analogous), and #824087 (lighter shade) work well with #AF5FB4.