#AF0E9F Color Information

Hex color code: #AF0E9F

#AF0E9F is a eye-catching magenta color. In RGB it is (175, 14, 159), and in HSL it is (306°, 85%, 37%). It is widely used in graphic design.

Try:
Color NameMedium Violet Red
HEX
#AF0E9F
RGB
175, 14, 159
HSL
306°, 85%, 37%
CMYK
0%, 92%, 9%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF0E9F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 14, 159

Red: 175 / Green: 14 / Blue: 159

HSL

306°, 85%, 37%

Hue: 306° / Saturation: 85% / Lightness: 37%

CMYK

0%, 92%, 9%, 31%

Cyan: 0% / Magenta: 92% / Yellow: 9% / Key: 31%

What color is #AF0E9F?

#AF0E9F is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF0E9F to RGB:

rgb(175, 14, 159)HEX to RGB Converter →

HEX to HSL

Convert #AF0E9F to HSL:

hsl(306, 85%, 37%)RGB to HSL Converter →

HEX to CMYK

Convert #AF0E9F to CMYK:

cmyk(0%, 92%, 9%, 31%)Color Converter →

Color Meaning and Usage

#AF0E9F is a bold magenta color with RGB values of 175, 14, 159 and HSL of 306°, 85%, 37%. This highly saturated hue evokes energy and excitement, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF0E9F is #0EAF1E, creating high-contrast pairings. For softer combinations, try analogous colors like #6E0EAF.

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

Contrast with #AF0E9F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF0E9F?

#AF0E9F is a bold magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #AF0E9F?

#AF0E9F in RGB is (175, 14, 159) - 175 red, 14 green, and 159 blue.

How to use #AF0E9F in CSS?

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

What colors go well with #AF0E9F?

#0EAF1E (complementary), #6E0EAF (analogous), and #68085E (lighter shade) work well with #AF0E9F.