The invention relates to contrast agents for magnetic resonance imaging comprising a chelating ligand and a transition metal ion, said ligand carrying a substituent capable of reacting chemically or biochemically with a target substance while bringing about a change in the spin state.