Contrast is everything
Aim for a contrast ratio of at least 4:1, and 7:1 or more for small or dense codes.
Branded colors look great — until a code stops scanning. Pick your foreground and background and we'll measure the contrast, then actually generate and re-scan a code in those colors to prove it works.
Your colors
Contrast & scan test
Aim for a contrast ratio of at least 4:1, and 7:1 or more for small or dense codes.
Keep the modules darker than the background. Inverted (light on dark) codes fail on many older scanners.
Red on green or blue on black may look dark to the eye but read as low contrast to a camera.
Busy or dark backgrounds cut contrast. A clean, light background is the safest choice.
Even a passing ratio should be scanned in the real print size and lighting before a big run.
If you must push the colors, a higher error-correction level adds a little resilience.
At least about 4:1 for comfortable scanning, and 7:1 or higher for small or dense codes. This tool shows your exact ratio and tests a real code in your colors.
Light, pale backgrounds can work if the code color stays much darker. Dark or saturated backgrounds usually cut contrast too far.
A contrast number is a guide; the surest test is whether a real code in those colors actually decodes. We generate one and read it back for you.
Modern phones often read light-on-dark codes, but many scanners and older apps don't. Dark-on-light is the safe, universal choice.
Take your tested palette into the generator and export a branded, high-resolution QR code.
Make a QR code