Gareth Rees scored 84 not out on his first appearance of the season as Glamorgan fought back on the second day of their LV= County Championship Division Two clash with Hampshire at the SWALEC Stadium.
Left-handed opener Rees came into the Glamorgan side because of an injury to Will Bragg and put on an unbeaten stand of 112 in 39 overs for the fourth wicket with Murray Goodwin.
The former Zimbabwe Test star will resume on 57 with his side 196 for three, 145 runs in arrears.
After starting the second morning on 274 for five, Hampshire's last five wickets could only add a further 67 runs and they were bowled out 10 minutes before the lunch interval.
Glamorgan bowlers Michael Hogan and Dean Cosker shared six wickets, returning respective figures of 3-48 and 3-82.
Seamer Hogan broke through in the fourth over of the day to have Liam Dawson caught at slip by Jim Allenby, who then had Sohail Tanvir caught behind.
Adam Wheater and Danny Briggs stopped the rot to add 47 for the eighth wicket, but Wheater was caught at point trying to reverse-sweep slow left-armer Cosker.
David Balcombe edged Michael Reed behind before Cosker wrapped up the innings to have James Tomlinson caught at slip by Allenby.
In reply Glamorgan reached 114 for three by tea, Rees on 50 from 110 balls with eight fours.
But he had to watch as he lost three partners in the afternoon session. Ben Wright was caught at the wicket chasing a wide one from Tomlinson and 24 for one became 35 for two when Stewart Walters went for a nine ball duck, caught at slip by Sean Ervine off Tanvir.
Rees and Marcus North combined to put on 49 for the third wicket but North was stumped by Adam Wheater going down the pitch to the first ball of spin he had faced from slow left-armer Briggs.
From 84 for three Rees and Goodwin took their stand to 100 just before the close, and in the last over of the day Goodwin completed his half-century from 115 balls with seven fours.