#AF6EA7 Color Information

Hex color code: #AF6EA7

The hex color #AF6EA7 is a subtle magenta with RGB values of (175, 110, 167) and HSL of (307°, 29%, 56%). It is popular in mobile app design.

Try:
Color NameRosy Brown
HEX
#AF6EA7
RGB
175, 110, 167
HSL
307°, 29%, 56%
CMYK
0%, 37%, 5%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF6EA7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 110, 167

Red: 175 / Green: 110 / Blue: 167

HSL

307°, 29%, 56%

Hue: 307° / Saturation: 29% / Lightness: 56%

CMYK

0%, 37%, 5%, 31%

Cyan: 0% / Magenta: 37% / Yellow: 5% / Key: 31%

What color is #AF6EA7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF6EA7 to RGB:

rgb(175, 110, 167)HEX to RGB Converter →

HEX to HSL

Convert #AF6EA7 to HSL:

hsl(307, 29%, 56%)RGB to HSL Converter →

HEX to CMYK

Convert #AF6EA7 to CMYK:

cmyk(0%, 37%, 5%, 31%)Color Converter →

Color Meaning and Usage

A pastel magenta tone, #AF6EA7 has RGB (175, 110, 167) and HSL (307°, 29%, 56%). Known for evoking romance and playfulness, this magenta-red hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF6EA7 is #6EAF76, creating high-contrast pairings. For softer combinations, try analogous colors like #966EAF.

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

Contrast with #AF6EA7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF6EA7?

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

What is the RGB value of #AF6EA7?

#AF6EA7 in RGB is (175, 110, 167) - 175 red, 110 green, and 167 blue.

How to use #AF6EA7 in CSS?

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

What colors go well with #AF6EA7?

#6EAF76 (complementary), #966EAF (analogous), and #874A80 (lighter shade) work well with #AF6EA7.