#AF5DB6 Color Information

Hex color code: #AF5DB6

A pastel magenta shade, #AF5DB6 appears as (175, 93, 182) in RGB and (295°, 38%, 54%) in HSL. It is commonly used in modern UI design.

Try:
Color NameMedium Orchid
HEX
#AF5DB6
RGB
175, 93, 182
HSL
295°, 38%, 54%
CMYK
4%, 49%, 0%, 29%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF5DB6; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 93, 182

Red: 175 / Green: 93 / Blue: 182

HSL

295°, 38%, 54%

Hue: 295° / Saturation: 38% / Lightness: 54%

CMYK

4%, 49%, 0%, 29%

Cyan: 4% / Magenta: 49% / Yellow: 0% / Key: 29%

What color is #AF5DB6?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF5DB6 to RGB:

rgb(175, 93, 182)HEX to RGB Converter →

HEX to HSL

Convert #AF5DB6 to HSL:

hsl(295, 38%, 54%)RGB to HSL Converter →

HEX to CMYK

Convert #AF5DB6 to CMYK:

cmyk(4%, 49%, 0%, 29%)Color Converter →

Color Meaning and Usage

A subtle magenta tone, #AF5DB6 has RGB (175, 93, 182) and HSL (295°, 38%, 54%). Known for evoking romance and playfulness, this magenta-red hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF5DB6 is #65B65D, creating high-contrast pairings. For softer combinations, try analogous colors like #825DB6.

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

Contrast with #AF5DB6

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF5DB6?

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

What is the RGB value of #AF5DB6?

#AF5DB6 in RGB is (175, 93, 182) - 175 red, 93 green, and 182 blue.

How to use #AF5DB6 in CSS?

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

What colors go well with #AF5DB6?

#65B65D (complementary), #825DB6 (analogous), and #833E89 (lighter shade) work well with #AF5DB6.