William Contreras went 3 for 5 with four RBIs and hit one of Milwaukee’s five homers off Martín Pérez in the Brewers’ 10-2 blowout of the Pittsburgh Pirates.

The NL Central-leading Brewers won two of three from the Pirates before beginning a season-long, nine-game trip Friday at Houston.

Gary Sánchez, Sal Frelick, Joey Ortiz and Jackson Chourio also homered off Pérez.

The Brewers tied a franchise record for homers off a single pitcher in one game.

Pittsburgh’s Andrew McCutchen went 3 for 4, homered and scored both the Pirates’ runs.