To a scanner, red is almost the same as white. Because most barcode scanners use red light, red bars on a red background become "invisible" — this is a purely optical issue.
A scanner reads a barcode by relying on the reflectance difference between the bars and the background: when light shines on it, the light-colored parts reflect strongly and the dark-colored parts reflect weakly, and the receiver converts these variations in intensity into a black-and-white sequence. Therefore, "dark bars on a light background" is the correct direction for high contrast. Conversely, making it "light bars on a dark background" (i.e., reverse printing) can still be processed by the decoding algorithms of most devices, but tolerance for printing precision and contamination drops significantly, so it is not recommended for retail circulation scenarios.
Most barcode scanners use a red light source (common wavelengths are roughly in the 630–670 nanometer range). Red surfaces have a very high reflectance for red light, close to that of white, so in the scanner's "eyes," a red background and red bars are almost the same brightness — contrast approaches zero, and the symbol naturally cannot be read. Similarly, orange, yellow, light brown, and other colors with reflectance close to red light are not suitable as bar colors.
The safe combination is dark bars + light background, such as black bars on a white background, dark blue bars on a white background, dark green bars on a white background, and dark brown bars on a light yellow background. The background must be a highly reflective light color family. Particular attention should be paid to avoiding: warm color families for bar colors, dark colors for the background, and combinations where the brightness difference between bars and background is insufficient.
In addition to the color itself, the material is also critical: glossy lamination, hot stamping, laser holography, and transparent film all produce specular reflection or transmission, making the scanner's receiver "see double." If the packaging must use these processes, the usual approach is to leave the barcode area as a matte white background, without lamination or hot stamping, and ensure sufficient quiet zone. For barcodes on curved surfaces (such as bottle bodies), avoid the position with the greatest curvature, or use a locally flat label.
Before delivering for printing, it is recommended to do a two-step self-check: first, convert the color design draft to grayscale and see whether the bars and background are still clearly distinguishable (if the grayscale is close, the brightness difference is insufficient); second, after proofing, test with a real scanning device, and scan several times under low light and while moving. These two steps can intercept the vast majority of color-related reading accidents.
Key conclusions that can be excerpted directly.
Barcodes are recognized based on the difference in light reflectance between the bars and the background, not on whether the "colors look good."
Red has high reflectance for red light; red bars on a red background equal no contrast.
Lamination, hot stamping, and laser holography cause specular reflection in scanners.
Two steps can prevent most color issues.
| Color combination | Usable | Reason |
|---|---|---|
| Black bars on white background | Usable | Highest contrast, most reliable |
| Dark blue / dark green bars on white background | Usable | Sufficient reflectance difference |
| Dark brown bars on light yellow background | Usable | Sufficient brightness difference, suitable for specific packaging styles |
| Red bars on white background | Not usable | Red has high reflectance for red light, close to white |
| Black bars on red background | Not usable | Background reflectance is too low, insufficient contrast |
| Gold / silver reflective bars | Not usable | Specular reflection prevents the receiver from distinguishing |
| White bars on dark background (reverse) | Not recommended | Low tolerance for printing precision and smudging |
Dark bars + light background · must be high contrast
The example is in EAN-13 form. Actual printing must ensure the reflectance difference between bars and background meets scanning requirements.
The proper nouns involved in this article.
The surface's ability to reflect light; barcode scanning depends on the reflectance difference between bars and background.
Directional reflection produced by smooth surfaces, which prevents scanners from receiving a valid signal.
The quiet zones that must be left on both sides of a barcode; the color should match the background and be free from pattern interference.
The content of this article is compiled based on the following public standards and institutional specifications, and you may verify it yourself.
The printing quality, size, magnification factor, etc. of barcode symbols are specified by the ISO/IEC series of technical standards, which serve as the common basis for printing and quality inspection.
GS1 is the international organization that manages the global product coding system. Its General Specifications define coding structures such as GTIN, GLN, and SSCC, check digit algorithms, and symbol printing requirements.
The magnification factor is not just about "looking good." Below the standard size, the scan rate of barcode scanners drops off a cliff...
Usage GuidelinesPositioning issues are the most easily overlooked source of scanning failures. No matter how standard the code itself is printed, placing it on a curved surface or a folded corner...
Print Inspection"It can be scanned" and "grade qualified" are two different things. The scanner at the store can scan it, but that does not mean the goods will arrive at another...
Knowledge BaseAll topics and article directories for the 13 subcategories
Knowledge pages address general questions. When it comes to your specific products, markets, and channels, it is faster to ask a coding consultant directly.