T/06 · Free tool
QR contrast and quiet zone checker
Brand colours and tight layouts are the two most common reasons in-store QR codes fail. Check both before your artwork goes to print.
How the checker works
It runs two checks:
- Colour contrast. We calculate the relative luminance of each colour and the contrast ratio between them, using the formula in WCAG 2.2. A ratio of 21:1 is black on white; 1:1 is no contrast. We call 7:1 or more strong and under 4:1 too low. Those thresholds are our editorial judgement for a quick check. Formal QR print-quality grading measures reflectance with a verifier, which is worth doing for packaging runs.
- Quiet zone. The QR Code specification needs a blank margin four modules wide on all sides (Denso Wave). A module is the code width divided by its modules per side: 21 at version 1, plus four for each version. We compare the margin you have with what's needed.
The preview redraws a code at your version, with your colours and margin. The dashed orange line marks the outer edge of the margin.
Choosing colours
- Dark on light. Phones look for dark modules on a light background. Inverted codes are allowed by the standard but less reliable across apps.
- Watch the lightness, not the hue. A bright red and a mid grey can have similar luminance. The ratio tells you how different they are to a camera's eye, roughly.
- No gradients or images behind the code. They reduce contrast in places you can't see.
Protecting the quiet zone
Designers often crop the margin to fit a code onto a shelf strip or pack panel, or run text right up to it. Phones then can't find the edges. If space is tight, it's better to shorten the URL so the code needs fewer modules, as our QR code size calculator shows, than to cut the margin.
Then test
Print a proof on the real stock and test in store lighting with several phones, at the distance and angle shoppers will use. See our guide to QR codes in retail stores for a test plan.
Embed this tool
Free to use on your own site or intranet. Paste this code:
<iframe src="https://retailnet.work/tools/qr-contrast-checker/embed" title="QR contrast and quiet zone checker by Retail Network" width="100%" height="980" style="border:0;max-width:1040px" loading="lazy"></iframe>FAQs
- What contrast does a QR code need?
- Strong contrast between dark modules and a light background. The QR standard grades print quality on measured reflectance, which needs a verifier. As a screen-side check, we use the WCAG contrast ratio and treat 7:1 or more as strong and under 4:1 as too low. Those thresholds are our editorial rule of thumb, not part of the QR standard.
- How big should the quiet zone be?
- At least four modules wide on every side, as the QR Code specification requires. A module is the code width divided by the number of modules per side, so the quiet zone grows with the code.
- Can a QR code be white on a dark background?
- The standard allows reflectance reversal, but not all scanning apps handle inverted codes reliably. Dark on light is the safer choice for a shelf, pack or poster.
- Can I use brand colours in a QR code?
- Yes, if the dark colour is much darker than the light one. Many brand colours, such as mid reds, blues and greens on white, are borderline. Check the ratio here, then test with real phones.
Related
Published · Last updated · Runs in your browser; nothing you type is sent to us · How we write and correct