QR code colors and contrast: what still scans
A branded QR code looks better than a black-and-white one — right up until a scanner refuses it. The rules are simpler than they look: it is all about contrast and polarity.
Updated 2026-10-05 · 1 min read
Polarity matters as much as contrast
Scanners expect dark modules on a light background. Inverting that — light modules on a dark background — works on some phones and fails on others, so it is a gamble on a print run.
- Dark foreground, light background: safe
- Light foreground, dark background: risky
- Low-contrast pairs like gray on white: unreliable
- Similar hues (red on orange): unreliable
Branding without breaking it
Use your brand color for the modules and keep the background near-white or a very light tint. Round the modules and restyle the corners if you want, and raise error correction if you also add a glyph.
Frequently asked questions
Can QR codes be any color?
Do inverted QR codes work?
What contrast should I aim for?
Keep reading
Ready to create one?
Dynamic codes are editable forever from $4/month.
Create your first dynamic QR code
Free to start. One code, editable forever, with scan tracking from the first scan.