#D31BC7 Hex Color

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

Hex color #d31bc7 graphic
Far from a soft pastel pink, #d31bc7 is a loud, saturated magenta that demands attention. Its high saturation makes it a strong accent rather than a full background, where it can overwhelm. Use it for calls to action or nightlife branding, and pair it with deep teal for striking contrast. Black text stays readable on top at about 4.8:1.

Questions about #d31bc7

What is #d31bc7 in RGB, HSL and CMYK?
In RGB, #d31bc7 is rgb(211, 27, 199), in HSL hsl(304, 77%, 47%) and in CMYK 0%, 87%, 6%, 17%.
What text color works best on #d31bc7?
Black text works best on #d31bc7, with a contrast ratio of about 4.8:1. That passes WCAG AA for body text, so small black type stays readable on top of it. White text falls short, so save it for large headings only.
What colors pair well with #d31bc7?
#d31bc7 pairs well with deep teal and dark navy, both of which cool down its neon intensity. It also holds its own against charcoal, where the magenta reads even bolder.
Is #d31bc7 readable on white or black?
#d31bc7 has a 4.41:1 contrast ratio on white and 4.75:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works only for large text (24px, or 18.5px bold) and on black it works for body text. Try other pairs in the contrast checker.