The shot is foul because when you nominate a free ball you must strike that ball first. Even though the red is still the ball 'on' contact must be made on the pink first (or simultaneously with a red).