Which quantity is directly related to the temperature of a substance?

pH of the substance
Composition of the substance
Average size of the particles in the substance
Average kinetic energy of the particles in the substance

The average kinetic energy of the particles in the substance is directly related to the temperature of a substance.