The blackest possible bars printed on the whitest possible surface would have a 100% contrast. Practical printing of the UPC symbol on commercial materials results in less than 100% contrast. When the contrast becomes too low, scanners may have difficulty distinguishing the bars from the spaces;
thus, higher contrast is desirable. Symbol contrast is graded A through F.
A low contrast grade indicates that either the bars are too light (not enough ink or ink not dark enough), the background is too dark, or both. Because the measurements are made with red light, it can be informative to visually inspect the symbol through a red transparency. When viewed in this
fashion, the bars should appear to be much darker than the spaces. Generally speaking, the background (spaces) should be white or one of the warm colors (red, orange, yellow) and the bars should be black, brown, blue or green.