Brown or black stains found in the dishwasher are usually from high levels of manganese, which can stain when the level is above .05mg/l. The dishwasher is a perfect mechanism to oxidize it because it heats, agitates, and mixes the water with air. Manganese can also stain clothes in the washing machine for the same reason, especially with the addition of bleach.