#AF66B7 Color Information

Hex color code: #AF66B7

#AF66B7 is a gentle magenta color. In RGB it is (175, 102, 183), and in HSL it is (294°, 36%, 56%). It is frequently seen in web interfaces.

Try:
Color NameMedium Orchid
HEX
#AF66B7
RGB
175, 102, 183
HSL
294°, 36%, 56%
CMYK
4%, 44%, 0%, 28%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF66B7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 102, 183

Red: 175 / Green: 102 / Blue: 183

HSL

294°, 36%, 56%

Hue: 294° / Saturation: 36% / Lightness: 56%

CMYK

4%, 44%, 0%, 28%

Cyan: 4% / Magenta: 44% / Yellow: 0% / Key: 28%

What color is #AF66B7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF66B7 to RGB:

rgb(175, 102, 183)HEX to RGB Converter →

HEX to HSL

Convert #AF66B7 to HSL:

hsl(294, 36%, 56%)RGB to HSL Converter →

HEX to CMYK

Convert #AF66B7 to CMYK:

cmyk(4%, 44%, 0%, 28%)Color Converter →

Color Meaning and Usage

A soft magenta tone, #AF66B7 has RGB (175, 102, 183) and HSL (294°, 36%, 56%). 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 #AF66B7 is #6EB766, creating high-contrast pairings. For softer combinations, try analogous colors like #8766B7.

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

Contrast with #AF66B7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF66B7?

#AF66B7 is a soft magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF66B7?

#AF66B7 in RGB is (175, 102, 183) - 175 red, 102 green, and 183 blue.

How to use #AF66B7 in CSS?

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

What colors go well with #AF66B7?

#6EB766 (complementary), #8766B7 (analogous), and #87438E (lighter shade) work well with #AF66B7.