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

Magenta

#AF4B8A

📝 Color Information for #AF4B8A

The hexadecimal color code #AF4B8A represents a medium shade in the purple family. In the RGB color model, this color is composed of 175 red, 75 green, and 138 blue, which translates to approximately 69% red, 29% green, and 54% 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, #AF4B8A has a hue of 322 degrees, a saturation level of 40%, and a lightness value of 49%. The hue angle of 322° places this color firmly in the purple spectrum. In the HSV/HSB color model, this translates to a hue of 322°, saturation of 57%, and brightness/value of 69%. For print applications using the CMYK color model, #AF4B8A would be reproduced using 0% cyan, 57% magenta, 21% yellow, and 31% black. The closest web-safe color is #993399, 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 #AF4B8A with other colors, consider its complementary color at hue 142° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 11488138, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #AF4B8A

Tailwind CSS
pink-600
HEX
#AF4B8A
RGB
rgb(175, 75, 138)
RGB %
69%, 29%, 54%
HSL
hsl(322, 40%, 49%)
HSV
hsv(322, 57%, 69%)
CMYK
0%, 57%, 21%, 31%
Decimal
11488138
Web Safe
#993399

🎨 Color Schemes for #AF4B8A

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #AF4B8A

🌗 Shades and Tints of #AF4B8A

Shades (adding black)
Tints (adding white)

🎚️ Tones of #AF4B8A

Tones (adding gray / desaturating)

🌈 Hue Variations of #AF4B8A

Hue Variations (shifting the color spectrum)

👁️ Preview of #AF4B8A in Use

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

👓 Color Blindness Simulation for #AF4B8A

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 #AF4B8A

:root { --color-hex: #AF4B8A; --color-rgb: 175, 75, 138; --color-hsl: 322, 40%, 49%; } .bg-color { background-color: #AF4B8A; } .text-color { color: #AF4B8A; } .border-color { border-color: #AF4B8A; }

🛠️ Use #AF4B8A in Your Project

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

🔗 Related Colors to #AF4B8A

#A24BAF
Hue -30°
#AF4BA3
Hue -15°
#AF4B71
Hue +15°
#AF4B58
Hue +30°
#964077
85% L
#793460
70% L
#592647
50% L
#36172A
30% L
#C06DA2
59% L
#D090B8
69% L
#E0B8D1
80% L
#F0DBE8
90% L

About Magenta (#AF4B8A)

Magenta is a medium, moderately saturated, warm purple color with a hue angle of 322°, saturation of 40%, and lightness of 49%. Its RGB value is (175, 75, 138) and its CMYK breakdown is C:0% M:57% Y:21% 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 #AF4B8A

What is the HEX code for Magenta? +

The HEX code for Magenta is #AF4B8A. In CSS you can use it directly as color: #AF4B8A; or as a background: background-color: #AF4B8A;. 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 #AF4B8A? +

The RGB value of #AF4B8A is rgb(175, 75, 138). This means the color contains 175 out of 255 parts red, 75 out of 255 parts green, and 138 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, 75, 138);

What is the HSL value of #AF4B8A? +

The HSL value of #AF4B8A is hsl(322, 40%, 49%). The hue is 322°, placing it in the purple family on the color wheel. The saturation is 40%, making it moderately saturated. The lightness is 49%, 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 #AF4B8A a warm or cool color? +

#AF4B8A is classified as a warm color based on its hue angle of 322°. 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 #AF4B8A? +

The approximate CMYK value of #AF4B8A is C:0% M:57% Y:21% 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 #AF4B8A with Other Tools

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