#AF2ED6 Color Information

Hex color code: #AF2ED6

The hex color #AF2ED6 is a muted magenta with RGB values of (175, 46, 214) and HSL of (286°, 67%, 51%). It is widely used in graphic design.

Try:
Color NameDark Orchid
HEX
#AF2ED6
RGB
175, 46, 214
HSL
286°, 67%, 51%
CMYK
18%, 79%, 0%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #AF2ED6; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #AF2ED6; color: #FFFFFF; }

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 #AF2ED6; background-color: #AF2ED615; }

Alert / Toast

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

Link / Accent

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

a { color: #AF2ED6; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 46, 214

Red: 175 / Green: 46 / Blue: 214

HSL

286°, 67%, 51%

Hue: 286° / Saturation: 67% / Lightness: 51%

CMYK

18%, 79%, 0%, 16%

Cyan: 18% / Magenta: 79% / Yellow: 0% / Key: 16%

What color is #AF2ED6?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF2ED6 to RGB:

rgb(175, 46, 214)HEX to RGB Converter →

HEX to HSL

Convert #AF2ED6 to HSL:

hsl(286, 67%, 51%)RGB to HSL Converter →

HEX to CMYK

Convert #AF2ED6 to CMYK:

cmyk(18%, 79%, 0%, 16%)Color Converter →

Color Meaning and Usage

#AF2ED6 is a muted magenta color with RGB values of 175, 46, 214 and HSL of 286°, 67%, 51%. This magenta-red hue evokes romance and playfulness, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF2ED6 is #55D62E, creating high-contrast pairings. For softer combinations, try analogous colors like #5B2ED6.

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

Contrast with #AF2ED6

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

Contrast Ratio: 4.18:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF2ED6?

#AF2ED6 is a muted magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF2ED6?

#AF2ED6 in RGB is (175, 46, 214) - 175 red, 46 green, and 214 blue.

How to use #AF2ED6 in CSS?

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

What colors go well with #AF2ED6?

#55D62E (complementary), #5B2ED6 (analogous), and #7D1E99 (lighter shade) work well with #AF2ED6.