Tomato-based dips like cocktail sauce or salsa can devastate light-colored carpets. Treat with a mixture of one cup of vinegar and three cups of water. Blot with clean towels, and repeat until the area is clean. If a stain remains, try adding a few drops of dishwashing detergent to the diluted vinegar. Always rinse with warm water.