Kontras Warna Barcode: Warna Mana yang Terbaca dan Mana yang Tidak
The physics of barcode color scanning — spectral reflectance at 660nm, safe color combinations, and the colors that guarantee scan failure.
Barcode Color Contrast: Which Colors Scan & Which Don't
Barcode scanners do not see the world the way human eyes do. They use red light (typically 650nm wavelength) to read barcodes, which means color combinations that look perfectly clear to us may be invisible to a scanner.
How Scanners See Color
A laser or LED scanner emits red light (650nm). Colors that absorb red light appear as "bars" (dark). Colors that reflect red light appear as "spaces" (light). The scanner cannot distinguish between colors that have similar reflectance at 650nm.
Safe Color Combinations
| Bars (Dark) | Background (Light) | Works? |
|---|---|---|
| Black | White | Excellent |
| Black | Yellow | Good |
| Black | Orange | Good |
| Dark blue | White | Good |
| Dark green | White | Fair |
| Dark brown | White | Fair |
Dangerous Color Combinations
| Bars | Background | Problem |
|---|---|---|
| Red | White | Red bars reflect red light (invisible to scanner) |
| Dark red | Light red | Insufficient contrast at 650nm |
| Black | Red | Red background absorbs red light (appears dark) |
| Blue | Green | Similar reflectance at 650nm |
| Orange | Yellow | Similar reflectance at 650nm |
| Any dark | Any dark | Insufficient contrast |
The Red Problem
Red is the single most problematic color for barcodes because:
- Red bars reflect red scanner light, appearing as spaces
- Red backgrounds absorb red scanner light, appearing as bars
- Both situations create catastrophic decode failures
Never use red for barcode bars. Never place a barcode on a red background without a white quiet zone.
Reflectance Requirements
ISO/IEC 15416" data-definition="International standard grading linear barcode print quality A-F." data-category="Printing & Quality">ISO/IEC 15416 specifies minimum contrast:
- Symbol contrast (SC): Minimum 40% reflectance difference between the darkest bar and the lightest space
- Edge contrast (EC): Minimum contrast at each bar-to-space transition
Black bars on white background typically achieve 70-80% symbol contrast. Colored combinations rarely exceed 50%.
Metallic and Specialty Surfaces
| Surface | Challenge | Solution |
|---|---|---|
| Metallic (gold, silver) | Specular reflection | Matte overprint or white label |
| Glossy film | Glare | Matte laminate over barcode |
| Clear/transparent | No background reflectance | Apply white backing behind barcode |
| Kraft (brown) paper | Low contrast | Increase bar width, use dense black |
Design Rules
- Best practice: Black bars on white background (always safe)
- If color is required: Test with a barcode verifier before production
- Ensure the background behind the barcode is a single, light color
- Avoid gradients, photographs, or patterns behind the barcode
- When in doubt, add a white rectangle behind the barcode with adequate quiet zones