#AF088F Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #af088f graphic
This intense magenta creates immediate visual impact. Because it is highly saturated, #af088f works best as a 10% accent color rather than a full background, which quickly overwhelms the user. Pair it with deep charcoal to ground its brightness. The hex code for this powerful tone is #af088f. White text remains perfectly legible against this hue, making it a solid choice for bold buttons and headers.

Questions about #af088f

What is #af088f in RGB, HSL and CMYK?
In RGB, #af088f is rgb(175, 8, 143), in HSL hsl(311, 91%, 36%) and in CMYK 0%, 95%, 18%, 31%. Browse more shades of purple with names and hex codes.
How should #af088f be used in user interface design?
Because of its high saturation, #af088f works best as a 10% accent color rather than a full background to avoid overwhelming the user. It is an excellent choice for bold buttons and headers where white text remains perfectly legible for accessibility.
What colors pair well with the intensity of #af088f?
You should pair #af088f with charcoal to ground its extreme brightness and create a balanced, professional contrast. This darker neutral prevents the magenta from vibrating against the background, keeping the overall composition clean and easy on the eyes.
Is #af088f readable on white or black?
#af088f has a 6.45:1 contrast ratio on white and 3.25:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it works only for large text (24px, or 18.5px bold). Try other pairs in the contrast checker.