Six closely related 4,6-disubstituted 2-amino-5-formylpyrimidines: different ring conformations, polarized electronic structures, and hydrogen-bonded assembly in zero, one, two and three dimensions.