Will he let you get close enough to sniff his ears? Ear mites often have a smell but they also cause icky brown stuff inside the ear. You say they're pink inside though so it's probably just pigment you're seeing. Some hammies have what are basically freckled ears