A two-part hair dye which is composed of a first part containing an alkali agent, a second part containing hydrogen peroxide, and a non-aerosol foamer container for discharging a liquid mixture of the first part and the second part in the form of a foam, the liquid mixture containing the following components (A) and (B): (A) a polymer or copolymer containing 70% or more mole fraction of diallyldimethyl quaternary ammonium salt monomer, and (B) an N-acylamino acid salt, an N-acyl-N-alkylamino acid salt, or an ether carboxylic acid salt, wherein, an equivalent ratio of the anion site of the component (B) to the cation site of the component (A) (anion / cation) is more than 1, and a viscosity of the liquid mixture at 25°Cis 1 to 300 mPa·s.本發明提供一種二劑式染毛劑,其係包含:含有鹼劑之第1劑、含有過氧化氫之第2劑、以及將第1劑與第2劑之混合液以泡狀噴出之非氣溶膠發泡容器;且混合液中含有如下之成分(A)及(B):(A) 二烯丙基二甲基四級銨鹽單體之莫耳分率為70%以上之聚合物或共聚物;(B) N-醯基胺基酸鹽、N-醯基-N-烷基胺基酸鹽或醚羧酸鹽;並且成分(B)之陰離子部位與成分(A)之陽離子部位之當量比(陰離子/陽離子)為大於1,且混合液於25℃下之黏度為1~300 mPa‧s。