Pepper plants need a balanced mix of nitrogen, phosphorus, and potassium, emphasizing phosphorus during the flowering and fruiting stages.