The Dodgers have won four in a row overall and nine straight against the Reds, who extended their season-high skid to 10 games.
Kazmir (4-3) allowed one run and four hits in six innings. He struck out 12 for the third time in his career and first since Sept. 6, 2012, against the Mets, and walked two.
Kenley Janson retired the side in the ninth for his 14th save in 16 chances after blowing his previous two opportunities.
Dan Straily (2-2) took a perfect game into the fourth inning, when the Dodgers rallied for a 2-1 lead on Pederson's hit.