The difference between green and red pesto comes down to the main ingredients. Classically, the main ingredients of green pesto are basil leaves and pine nuts, whereas the main ingredients of red pesto are sun-dried tomatoes or peppers and almonds (also with basil but to a lesser degree).