As the rock cooled from a molten state crystals formed. The slower it cooled, the larger are the crystals. Here pink granite has crystallised in a vein cutting across diorite.