Metal-binding loop length is a determinant of the pKa of a histidine ligand at a type 1 copper site.