#AF1F87 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

Not a shy pastel, #af1f87 is a loud, saturated magenta built to stop the scroll. White text reads clearly on it at about 6.2:1 contrast, so it holds up behind small body text and buttons. Use it as an accent or call to action in cosmetics, nightlife, or pop culture work, and temper it with deep teal or charcoal so it powers the design without taking over.
Questions about #af1f87
What is #af1f87 in RGB, HSL and CMYK?
In RGB, #af1f87 is rgb(175, 31, 135), in HSL hsl(317, 70%, 40%) and in CMYK 0%, 82%, 23%, 31%. Browse more shades of purple with names and hex codes.
What colors pair well with #af1f87?
Deep teal and charcoal calm it down, while cream keeps the contrast soft. Avoid pairing it with bright red or orange, where the two saturations fight for attention.
Is #af1f87 readable on white or black?
#af1f87 has a 6.23:1 contrast ratio on white and 3.36: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.