Rookie Carlos Monasterios (2-0), made his second career start and earned the win. He worked five innings, allowing five hits, four runs (two earned), walked one and struck out one. His earned run average of 2.21.
Ramon Troncoso took over in the sixth and was followed by Hong- Chih Kuo, Ronald Belisario and Jonathan Broxton, who combined to hold the Rockies to one more hit.
Los Angeles managed six hits by six different batters. Matt Kemp hit his 10th home run of the season.
The Rockies tagged Monasterios for a pair of runs in the first inning when Carlos gonzalez singled and Seth Smith's ground ball eluded Ron Belliard at first for an error. A wild pitch scored the first run and Miguel Olivo's RBI single made it 2-0.
In the fourth, Olivo tripled and scored on Ian Stewart's sacrifice fly. Then Clint Barmes to left-center that was reviewed by the umpires. A fan caught the ball behind the left-center field fence a his glove dropped down over the yellow boundary lining the top of the wall.
After checking the replay, the umpires ruled the ball had already cleared the fence when the momentum from the catch carried the fan's glove back over the wall. Kemp disagreed. "It wasn't a home run," he said. "He reached over the fence and grabbed the ball. But you know what? It's over and we won."
That put Colorado at a 4-0 advantage before Kemp powered his shot over the center field wall for the second Dodgers hit of the game. The first came when Reed Johnson, in right field in place of the injured Andre Ethier, singled in the third but was erased by a double play.
Monasterios, who had retired five Colorado batters after the home run, left the game for pinch-hitter Garret Anderson who slugged a ground rule double to dead center, moving Jamey Carroll, who had walked, to third base.
Rafael Furcal's fly ball to center scored Carroll and Russell Martin doubled to left, driving in Anderson. Then Ramirez ripped a shot into the Colorado bullpen in deep right center to give them their first lead of the night.
Ramirez came into the game hitting .213 in a a 10-for-49 slump since returning from the disabled list on May 8 after suffering a strained right calf. His long shot and was his first since April 18.
"That was the biggest swing of the day for us," Martin said. "He really battles every time he's up there and it's just a matter of time before he will catch fire."
Troncoso worked a scoreless inning, then gave up the final Colorado hit with one out in the seventh and was replaced by Kuo. The remarkable left-hander ended the inning with a pair of strikeouts.
Neither team had a hit after that. Broxton hit Jeremy Giambi to open the ninth and issued a two-out walk but earned his 12th save in 14 chances.
The Dodgers have now won six of seven and 10 of their last 13 meetings with the Rockies in Colorado, a puzzling statistic to manager Joe Torre.
"I have no clue why it has happened. We certainly don't look forward to playing them, they're a good team that has been hot lately."
Elbert Recalled, Green Optioned
The Dodgers have recalled left-hander Scott Elbert from Albuquerque where he was 1-1 with a 5.40 ERA. He was 2-0 with a 5.03 ERA in 19 relief appearances for the Dodgers last season. At the same time they designated infielder Nick Green who had been hitting .125 in five games since his May 4 recall from Albuquerque after signing with the Dodgers as a free agent over the winter.
Torre said he wanted an additional left-handed reliever for the Colorado series. Kuo was the only left on the roster now that George Sherrill is on the disabled list.