Using ammonium sulfate for dyeing. Ammonium sulfate, (NH 4) 2 SO 4, is an acidforming salt, used as an acid in dyeing can be substituted for vinegar or citric acid. Its great advantage is that it forms acid slowly, starting from a neutral ph when first dissolved in room temperature water, and releasing more acid as the dyebath is heated to around 150°F.