A hair dye containing a compound represented by the following general formula (I):wherein R1 and R2 each independently represent a hydrogen atom or a straight chain or branched alkyl group having 1 to 5 carbon atoms, and An− represents an inorganic anion, an organic anion, or a complex salt anion, respectively.