Four heterocyclic dyes, derived from methyl 4-aminobenzoate and pyridine-2,4-dione components, with different N-substituents in the latter [CH 3 , CH 2 CH 3 , CH 2 CH 2 OH, CH 2 CH 2 CH 2 OCH(CH 3 ) 2 ], were synthesised by the traditional diazotisation-coupling strategy. Furthermore, a Cu(II) dye-metal complex was prepared and characterised by X-ray single-crystal diffraction for comparison, where the configuration transformation from hydrazone to deprotonated azo forms was found before and after Cu(II) ion complexation. In addition, the azo-hydrazone transformation could be observed by acid-base titration experiments. To the best of our knowledge, this work is the first structural study of pyridone dyes based on methyl 4-aminobenzoate and the corresponding dye-metal complex.