SAN DIEGO (AP) Kyle Kendrick pitched five innings and hit his first major league home run and the Colorado Rockies beat the San Diego Padres 6-4 on Monday.

Kendrick (5-12) allowed three runs, seven hits and two walks as the Rockies won for the first time in seven games at Petco Park.

John Axford, the seventh Rockies pitcher, worked the ninth for his 20th save in 25 chances.

More from FoxSports

Rockies third baseman Nolan Arenado, who is tied with teammate Carlos Gonzalez for the NL lead in homers with 36, left in the eighth inning with a chest contusion. He was going to undergo an X-ray.

Arenado was injured diving into the stands attempting to catch a pop fly in the sixth inning.

San Diego has lost four straight and six of its last seven in falling eight games under .500 (65-73).

Ian Kennedy (8-13) pitched five innings and was charged with six runs - four earned - seven hits and a walk. He struck out nine.

The Padres cut their deficit to 6-4 in the sixth on a throwing error by catcher Dustin Garneau. San Diego had the go-ahead run aboard but Wil Myers struck out.

San Diego pulled within 6-3 in the fourth as Justin Upton walked and came around on Jedd Gyorko's double

Kendrick hit his home run in the fourth, a solo shot to left which pushed the Rockies' lead to 6-2.

Colorado took a 5-2 lead in the third with some help from the Padres.

Charlie Blackmon and DJ LeMahieu opened with singles and Blackmon scored on Arenado's ground-rule double. After Justin Morneau and Kyle Parker struck out, Daniel Descalso hit a towering fly ball to right field, where Matt Kemp drifted over to the base of the fence. But the ball glanced off Kemp's glove for a three-base error, with LeMahieu and Arenado scoring.

The Padres tied the game at 2 on Kemp's home run. It was his 19th of the season and extended his streak of reaching base to a career-high 27 games.

The Rockies took a 2-0 lead in the first on an RBI triple by LeMahieu, after Blackmon's double, and a run-scoring single by Morneau.

Derek Norris had three hits for the Padres.

TRAINERS ROOM

PADRES: RHP Joaquin Benoit was unavailable with a sore back.

ROCKIES: C Nick Hundley was out of the lineup with a sore neck. He is day-to-day.

UP NEXT

Rockies: RHP Jon Gray (0-0, 6.15) is seeking his first major league win; the Rockies are 1-5 in his starts. He had a no-decision when facing the Padres on Aug. 15, pitching five innings and allowing four hits and a run. He was leading 3-1 when he left.

Padres: RHP Colin Rea (2-2, 5.47) won his first two starts, but has lost his last two decisions. He had a no-decision in his previous outing, working five innings and giving up four hits and two runs against the Dodgers on Thursday. He had a career-high six strikeouts.