#AF5BC2 Color Information

Hex color code: #AF5BC2

#AF5BC2 is a pastel magenta color. In RGB it is (175, 91, 194), and in HSL it is (289°, 46%, 56%). It is commonly used in modern UI design.

Try:
Color NameMedium Orchid
HEX
#AF5BC2
RGB
175, 91, 194
HSL
289°, 46%, 56%
CMYK
10%, 53%, 0%, 24%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF5BC2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 91, 194

Red: 175 / Green: 91 / Blue: 194

HSL

289°, 46%, 56%

Hue: 289° / Saturation: 46% / Lightness: 56%

CMYK

10%, 53%, 0%, 24%

Cyan: 10% / Magenta: 53% / Yellow: 0% / Key: 24%

What color is #AF5BC2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF5BC2 to RGB:

rgb(175, 91, 194)HEX to RGB Converter →

HEX to HSL

Convert #AF5BC2 to HSL:

hsl(289, 46%, 56%)RGB to HSL Converter →

HEX to CMYK

Convert #AF5BC2 to CMYK:

cmyk(10%, 53%, 0%, 24%)Color Converter →

Color Meaning and Usage

A delicate magenta tone, #AF5BC2 has RGB (175, 91, 194) and HSL (289°, 46%, 56%). Known for evoking romance and playfulness, this magenta-red hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF5BC2 is #6EC25B, creating high-contrast pairings. For softer combinations, try analogous colors like #7C5BC2.

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

Contrast with #AF5BC2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF5BC2?

#AF5BC2 is a delicate magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF5BC2?

#AF5BC2 in RGB is (175, 91, 194) - 175 red, 91 green, and 194 blue.

How to use #AF5BC2 in CSS?

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

What colors go well with #AF5BC2?

#6EC25B (complementary), #7C5BC2 (analogous), and #873899 (lighter shade) work well with #AF5BC2.