Los Angeles has pounded out at least 14 hits in each of its last three games. The Dodgers have won four in a row and 10 of their last 11.
A four-run fourth gave the Dodgers the lead for good, an inning that featured a two-run homer by Juan Uribe. Adrian Gonzalez added a solo shot in the fifth and both Ramirez and Matt Kemp hit solo blasts in the ninth.
The Rockies suffered their third straight loss despite taking an early 4-1 lead.
Zack Greinke (6-2) struggled through five innings, but still picked up his third consecutive win. He gave up five runs on six hits with seven walks. Kenley Jansen allowed a run in the ninth, but still collected his eighth save.
The loss went to Tyler Chatwood (4-2), who was roughed up for six runs on 11 hits in five innings. He had given up no more than two runs in any of his eight previous starts.
Boston schools pull out free condoms over wrapping complaints
Ray Liotta sues skin care company over use of likeness