Skip to content

Barcode Scanning Tips

Colors, contrast and printing choices that make barcodes scan.

About Barcode scanning tips

Most retail and warehouse scanners light the barcode with red light, around 630 to 670 nm, and measure how much is reflected. Under red light, red, orange, pink and yellow look as light as white, so bars in those colors seem to vanish, while the same colors work as a background. Dark bars on a light background are the rule: black on white is best, and dark blue, dark green or dark brown bars on white, cream or light yellow work too.

Contrast is only part of it. Barcodes also fail because they're printed too small, cut too short, crowded by text in the quiet zones, wrapped around a tight curve with the bars running the wrong way, or printed on glossy or see-through material. The tables below cover colour choices and the faults print and packaging teams see most, with the fix for each.

Bar and background colors

For red-light laser and LED scanners. Camera-based imagers are more forgiving but need contrast too.

BarsBackgroundScans?Why
BlackWhiteYes, bestMaximum contrast under any light
Dark blue, dark green or dark brownWhite or lightYesDark under red light
BlackYellow, orange or light redUsuallyWarm backgrounds reflect red light like white
Red, orange, pink or yellowWhiteNoRed-light scanners see the bars as white
White (reversed)Black or darkOften notMany scanners and standards expect dark bars; avoid for retail
BlackDark blue, green or brownNoNot enough contrast
Gold, silver or metallic inkAnyUnreliableShiny ink reflects unpredictably
Dark barsClear film or foilUnreliablePrint a white box behind the barcode

Common faults and fixes

ProblemWhat happensFix
Barcode printed too smallBars blur together, especially on rough paperStay at 80% magnification or more for EAN/UPC; bigger on cartons
Bars cut short (truncated)Scanners must hit it straight onKeep the full nominal height
Text or edges in the quiet zoneThe scanner can't find the start or endKeep the margins clear: 11X/7X for EAN-13, 9X for UPC-A
Bars around a tight curveEnds of the barcode bend out of viewOn small cans and bottles, turn the barcode 90° so the bars are horizontal and it runs along the straight side (ladder orientation)
Ink spread (bar gain)Bars grow and spaces shrinkAsk the printer for bar width reduction or print larger
Glossy or laminated labelGlare hides the barsUse matte material or angle the scanner
Barcode on a fold, seam or edgePart of the bars is hidden or distortedPlace it on a flat panel away from edges
Low-toner or draft printingGrey, broken barsPrint in normal or best quality and replace toner

Good to know

Test before you print thousands

Print a sample on the real material and scan it with the kind of scanner it will meet. A barcode verifier grades print quality from A to F to ISO/IEC 15416 (1D) or 15415 (2D), and some retailers ask for a minimum grade; a phone scan only shows that it reads.

Design barcodes

Decorative barcodes keep the same rules: the plain part of the bars needs full contrast and the quiet zones stay clear. Keep at least about 60% of the bar height plain.

More references