The influence of perchloric acid on the spectral-luminescent characteristics of coumarin-7 and coumarin-30 in acetonitrile and ethanol is studied. A probable mechanism and methods of controlling the protonation of nitrogen atoms of the phenylimidazole fragment are discussed.