A population kinetics code was developed to analyze K alpha emission from partially ionized chlorine atoms in hydrocarbon plasmas. Atomic processes are solved under collisional-radiative equilibrium for two-temperature plasmas. It is shown that the fast electrons dominantly contribute to ionize the K-shell bound electrons (i.e., inner-shell ionization) and the cold electrons to the outer-shell bound ones. Ratios of K alpha lines of partially ionized atoms are presented as a function of cold-electron temperature. The model was validated by observation of the K alpha lines from a chlorinated plastic target irradiated with 1 TW Ti:sapphire laser pulses at 1.5 x 10(17) W/cm(2), inferring a plasma temperature of about 100 eV on the target surface.