✓ Copied to clipboard
#AF5987 (Magenta) color swatch preview — Color From Pic.
#AF5987 — Magenta color swatch

Magenta

#AF5987

📝 Color Information for #AF5987

The hexadecimal color code #AF5987 represents a medium shade in the purple family. In the RGB color model, this color is composed of 175 red, 89 green, and 135 blue, which translates to approximately 69% red, 35% green, and 53% blue. This makes it a slightly desaturated color with warm undertones that can evoke different emotional responses depending on its application. When analyzed in the HSL (Hue, Saturation, Lightness) color space, #AF5987 has a hue of 328 degrees, a saturation level of 35%, and a lightness value of 52%. The hue angle of 328° places this color firmly in the purple spectrum. In the HSV/HSB color model, this translates to a hue of 328°, saturation of 49%, and brightness/value of 69%. For print applications using the CMYK color model, #AF5987 would be reproduced using 0% cyan, 49% magenta, 23% yellow, and 31% black. The closest web-safe color is #996699, which may be useful for ensuring compatibility across older displays and systems. This color works well in various design contexts. With its medium lightness, it's versatile enough for both foreground elements and subtle backgrounds. The moderate to low saturation gives this color a sophisticated, muted quality that works well in professional and minimalist designs. When pairing #AF5987 with other colors, consider its complementary color at hue 148° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 11491719, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #AF5987

Tailwind CSS
stone-500
HEX
#AF5987
RGB
rgb(175, 89, 135)
RGB %
69%, 35%, 53%
HSL
hsl(328, 35%, 52%)
HSV
hsv(328, 49%, 69%)
CMYK
0%, 49%, 23%, 31%
Decimal
11491719
Web Safe
#996699

🎨 Color Schemes for #AF5987

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #AF5987

🌗 Shades and Tints of #AF5987

Shades (adding black)
Tints (adding white)

🎚️ Tones of #AF5987

Tones (adding gray / desaturating)

🌈 Hue Variations of #AF5987

Hue Variations (shifting the color spectrum)

👁️ Preview of #AF5987 in Use

Text on #AF5987
This demonstrates text readability on the color background. (Click to edit)
#AF5987 as Text
This shows the color used as text on white. (Click to edit)

👓 Color Blindness Simulation for #AF5987

Check how a color is perceived by people with different types of color blindness to create more accessible designs. Understanding color perception helps ensure your content is accessible to everyone.

📋 CSS Code for #AF5987

:root { --color-hex: #AF5987; --color-rgb: 175, 89, 135; --color-hsl: 328, 35%, 52%; } .bg-color { background-color: #AF5987; } .text-color { color: #AF5987; } .border-color { border-color: #AF5987; }

🛠️ Use #AF5987 in Your Project

🎨
Build a Palette with #AF5987
Generate harmonious color schemes
⚖️
Check Contrast for #AF5987
WCAG accessibility testing
🌈
Create a Gradient with #AF5987
Beautiful CSS gradients

🔗 Related Colors to #AF5987

#AD5AAF
Hue -30°
#AF5A9D
Hue -15°
#AF5A72
Hue +15°
#AF5A5D
Hue +30°
#974973
85% L
#7C3C5E
70% L
#5A2B44
50% L
#371B2A
30% L
#C07CA0
62% L
#CF9BB7
71% L
#E0BED0
81% L
#EEDDE6
90% L

About Magenta (#AF5987)

Magenta is a medium, moderately saturated, warm purple color with a hue angle of 328°, saturation of 35%, and lightness of 52%. Its RGB value is (175, 89, 135) and its CMYK breakdown is C:0% M:49% Y:23% K:31%.

This is a Summer (Cool) color palette archetype. Royalty, Luxury, Ambition, Magic. Purple combines the stability of blue and the energy of red.

Frequently Asked Questions About #AF5987

What is the HEX code for Magenta? +

The HEX code for Magenta is #AF5987. In CSS you can use it directly as color: #AF5987; or as a background: background-color: #AF5987;. The three-character shorthand is not available for this color since it cannot be reduced without changing the value. Use the full six-character hex for accurate reproduction in any web or design project.

What is the RGB value of #AF5987? +

The RGB value of #AF5987 is rgb(175, 89, 135). This means the color contains 175 out of 255 parts red, 89 out of 255 parts green, and 135 out of 255 parts blue. Red is the strongest channel in this color mix. You can use the full RGB function in any CSS property: color: rgb(175, 89, 135);

What is the HSL value of #AF5987? +

The HSL value of #AF5987 is hsl(328, 35%, 52%). The hue is 328°, placing it in the purple family on the color wheel. The saturation is 35%, making it moderately saturated. The lightness is 52%, making it medium. HSL is the most useful format for programmatic color manipulation in CSS, as you can easily adjust lightness to create tints and shades.

Is #AF5987 a warm or cool color? +

#AF5987 is classified as a warm color based on its hue angle of 328°. Warm colors — reds, oranges, and yellows — evoke energy, enthusiasm, and urgency. They tend to advance visually and draw the eye. In design, warm colors are often used for calls-to-action, food and hospitality brands, and anywhere a feeling of warmth or excitement is desired.

What is the CMYK value of #AF5987? +

The approximate CMYK value of #AF5987 is C:0% M:49% Y:23% K:31%. CMYK (Cyan, Magenta, Yellow, Key/Black) is the color model used in physical printing. Unlike RGB which mixes light additively on screens, CMYK mixes inks subtractively on paper. Note that the RGB-to-CMYK conversion is an approximation — screen colors and print colors exist in different color gamuts, and some screen colors cannot be exactly reproduced in print. For precise print work, consult a professional print color profile or Pantone matching system.

Analyze #AF5987 with Other Tools

🔢
Color Converter
Get all formats for #AF5987 — HEX, RGB, HSL, HSV, CMYK, harmonies and shades.
Contrast Checker
Test whether #AF5987 passes WCAG AA/AAA contrast requirements as text.
🎨
Palette Generator
Generate complementary, triadic, and analogous palettes starting from #AF5987.
👓
Blindness Simulator
See how #AF5987 appears to users with deuteranopia, protanopia, and tritanopia.
📊
Color Analysis
Deep analysis of luminance, temperature, psychology and harmonies for #AF5987.
🎭
Creative Aspects
Explore the mood, psychology, seasonal meaning, and mixing guide for #AF5987.
🌅
Gradient Maker
Create a beautiful CSS linear or radial gradient starting from #AF5987.
🔬
Technical Formats
See #AF5987 in OKLCH, Lab, HSV, XYZ, and other advanced color spaces.
🎨
Practical Formats
Get #AF5987 as a CSS variable, Tailwind class, design token, and more.

More Color Tools

Explore our full suite of free color utilities for designers and developers.