On this page
Why packaging is harder than screens Pick colors by contrast, not by brand guide alone Size and module size Dot style, logos and error correction Finishes and surfaces Retail barcodes are moving to QR Pre-press checklist Questions- Dark dots on a light background, contrast 7:1 or more.
- Error correction H and square dots.
- A 4-module quiet zone and at least 2 cm wide.
- Download SVG and test a printed proof on several phones.
Why packaging is harder than screens
On a screen, a QR code is lit evenly and perfectly flat. Packaging adds problems that eat into how readable the code is:
- Glare. Gloss laminates and metallic films reflect shelf lighting straight into the camera and wash out part of the code.
- Ink spread. On flexo and corrugated printing, ink spreads as it hits the board, so small light gaps between dots fill in.
- Curves and folds. Cans, bottles and pouches bend the code, and folds or seams break it.
- Damage. Scuffs, tape and creases knock out modules.
Each of these uses up some of the code's safety margin. High contrast is the margin you control most easily.
Pick colors by contrast, not by brand guide alone
Scanners convert the image to black and white before reading it, so what matters is the lightness difference between dots and background, not the hue. Two colors that look very different, like red and green, can have almost the same lightness and fail.
| Dots / background | Contrast | On packaging |
|---|---|---|
| Black on white | 21:1 | Best choice |
| Navy #0E1430 on white | 18:1 | Excellent |
| Dark green #1B4332 on white | 11:1 | Excellent |
| Brand red #D0263E on white | 5:1 | Risky, test carefully |
| Black on kraft brown #C8A97E | ~9:1 on screen, much lower printed | Use a white box behind the code |
| Yellow on white | ~1.1:1 | Unreliable, avoid |
Keep the dots darker than the background. Light dots on a dark background (an inverted code) look striking, but some older scanner apps and point-of-sale scanners can't read them.
The generator shows a live contrast rating for every design and warns you about inverted codes.
Open the packaging preset: black square dots, error correction H, standard quiet zone.
Use packaging presetSize and module size
The overall size matters less than the size of each module (one square dot). As a rule of thumb for packaging:
- Make the full code at least 2 cm (0.8 in) wide, and bigger when it encodes a long link.
- Keep each module at least about 0.4 mm wide on smooth printed labels, and larger on corrugated board where ink spreads more.
- Shorter links make smaller codes with bigger modules. Use a short URL on your own domain rather than a long tracking link.
See How small can a QR code be? for a full size table.
Dot style, logos and error correction
Fancy dot shapes leave more empty space in each module. That is fine on a screen, but on packaging it combines with ink spread and glare. Square or softly rounded dots are the safest choice.
Error correction lets a QR code survive missing pieces. Level H recovers roughly 30% damage, and packaging needs that margin for scuffs. If you add a logo, it uses up part of the same margin, so keep it under about 20% of the code width on packaging.
Finishes and surfaces
- Matte over gloss where the code sits. A spot matte varnish on the code area cuts glare.
- Avoid metallic and foil inks for the dots. Their brightness changes with viewing angle.
- Kraft and colored board: print an opaque white box under the code, including the quiet zone. See QR codes on kraft packaging.
- Cans and bottles: keep the code small relative to the diameter. See QR codes on curved surfaces.
- Stay off seams, folds, glue flaps and perforations.
Retail barcodes are moving to QR
The retail industry is moving from 1D barcodes to 2D codes at checkout, using a standard called GS1 Digital Link. If your code needs to work at the till as well as on phones, ask your packaging printer or your GS1 member organization for the exact size and placement rules. A marketing QR code made here is fine for consumer scanning but is not a replacement for a registered product barcode.
Pre-press checklist
- Dark dots on a light background, contrast 7:1 or higher.
- Error correction H.
- Quiet zone of at least 4 modules on every side, free of text and graphics.
- Exported as SVG and placed at 100% (not stretched).
- Not crossing a fold, seam or curve edge.
- Printed proof scanned with at least three phones, iPhone and Android, under store-like lighting.
- The link opens a page that loads fast on mobile data and will stay live for the product's whole shelf life.
Questions
What contrast does a QR code need on packaging?
Aim for a contrast ratio of at least 7:1 between the dots and the background, with dark dots on a light background. Below about 4.5:1 scan failures rise quickly, especially under store lighting.
Can I print a QR code on kraft or brown packaging?
Yes, but print a white knock-out box behind the code first. Kraft paper alone usually gives too little contrast with black ink.
Should a packaging QR code use a logo?
Only if you use error correction level H and keep the logo small. Packaging gets scuffed and creased, and that damage uses up the same error correction a logo does.