Home/Encoding Knowledge/Usage Guidelines/Barcode color combinations
Usage Guidelines · 5 min read
Usage GuidelinesContent reviewed

Barcode Color Pairing Taboos: Why You Cannot Use Black Bars on a Red Background

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.

Executive summary:This article explains the optical principles of barcode color pairing (reflectance difference and light source wavelength), usable and prohibited color combinations, how to handle reflective and transparent materials, and self-check methods during the design stage.
01

Root Cause: Reflectance Difference

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.

02

Why Red Does Not Work

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.

03

Recommended Color Directions

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.

04

Impact of Materials and Post-Processing

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.

05

Self-Check During the Design Stage

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 points at a glance

Key conclusions that can be excerpted directly.

Point 01

The Principle Is Reflectance Difference

Barcodes are recognized based on the difference in light reflectance between the bars and the background, not on whether the "colors look good."

Point 02

Red-Light Devices Fear Red

Red has high reflectance for red light; red bars on a red background equal no contrast.

Point 03

Prohibit Covering with Reflective Processes

Lamination, hot stamping, and laser holography cause specular reflection in scanners.

Key Point 04

Grayscale Self-Check + Proofing Test

Two steps can prevent most color issues.

Data Comparison

Color combinationUsableReason
Black bars on white backgroundUsableHighest contrast, most reliable
Dark blue / dark green bars on white backgroundUsableSufficient reflectance difference
Dark brown bars on light yellow backgroundUsableSufficient brightness difference, suitable for specific packaging styles
Red bars on white backgroundNot usableRed has high reflectance for red light, close to white
Black bars on red backgroundNot usableBackground reflectance is too low, insufficient contrast
Gold / silver reflective barsNot usableSpecular reflection prevents the receiver from distinguishing
White bars on dark background (reverse)Not recommendedLow tolerance for printing precision and smudging

Illustration

Dark bars + light background · must be high contrast

Dark bars + light background · must be high contrastReal barcode rendering
6901234567892

The example is in EAN-13 form. Actual printing must ensure the reflectance difference between bars and background meets scanning requirements.

Terminology explanation

The proper nouns involved in this article.

Reflectance

The surface's ability to reflect light; barcode scanning depends on the reflectance difference between bars and background.

Specular reflection

Directional reflection produced by smooth surfaces, which prevents scanners from receiving a valid signal.

Quiet zone

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.

Related Q&A

Can red barcodes really not be scanned at all?+
For common scanners using red light sources, red bars on a white background are basically unreadable. A few devices using other wavelengths or image-based reading may work, but retail circulation scenarios cannot rely on such chance.
Can inverted barcodes (white bars on black background) be used?+
Some devices can read them, but the error rate and sensitivity to print quality are higher than with conventional color schemes, so they are not recommended for retail checkout scenarios.
The packaging is transparent film; can the barcode be printed inside?+
Transparent film causes transmission and reflection interference. It is recommended to use matte white background printing in the barcode area, avoiding reading directly through glossy film.
Do I have to go through an agent for this?+
It is not mandatory. You can apply directly to the corresponding member organization; the value of an agent lies in selecting the number range, arranging the numbers, checking materials, and managing the continuity of subsequent changes and renewals. Whether to entrust this depends on your time cost.
Can the numbers in the content be used directly?+
The barcodes appearing in the text are all demonstration numbers generated according to GS1 rules. The structure is valid, but they do not belong to any company. Do not use them directly for real products; official codes must be arranged by yourself according to the code segment obtained through registration.
How long until I get a result?+
Acceptance periods vary among member organizations. This site does not provide unconfirmed commitments regarding the number of days. After you submit your request, a coding consultant will update the milestones according to the current acceptance progress.

Authoritative sources and notes

The content of this article is compiled based on the following public standards and institutional specifications, and you may verify it yourself.

Source 01

ISO/IEC barcode symbol technical standard system

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.

Source 02

GS1 General Specifications

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.

Content statement:This article is a general explanation of coding knowledge and does not contain any specific amounts, day commitments, or regulatory clause numbers; for current requirements of specific markets and platforms, please refer to the official documents of the corresponding institutions and platforms. All barcodes appearing in this article are demonstration numbers generated according to GS1 rules, do not belong to any company, and must not be used for real products.

Related Articles

Still have specific questions after reading?

Knowledge pages address general questions. When it comes to your specific products, markets, and channels, it is faster to ask a coding consultant directly.

—