Pinking is usually caused by detonation, rather than pre-ignition. People often confuse the two things, but they are actually different and caused by slightly different things.
Pre-ignition, as nathwarr says, is caused by a red-hot bit of carbon or perhaps an overheated spark plug which...