Hamilton had two men sent off and took the lead before being pegged back in stoppage time by Livingston.
Defender Mark McLaughlin was sent off for a professional foul on Bobby Barr and Simon Mensing was also dismissed after picking up two bookings.
But the home side took the lead on 78 minutes when Ali Crawford turned in James McAlister's left-wing cross.
However, Livi denied Hamilton a remarkable win when Rory Boulding fired home powerfully from 18 yards.
Hamilton: Cerny, McAlister, Canning, McLaughlin, Hendrie (Fraser 34), Imrie, Mensing, Gillespie (Hopkirk 52), Crawford, Lyle (Spence 52), Chambers. Subs Not Used: Hutton, Kilday.
Sent Off: McLaughlin (53), Mensing (64). Booked: Mensing, Fraser.
Goals: Crawford 78.
Livingston: McNeil, Brown (Boulding 76), Craig Barr (Kyle Jacobs 46), Watson, Talbot, Keaghan Jacobs, Fox, Scougall, Bobby Barr, Russell, McNulty. Subs Not Used: Jamieson, Sinclair, MacDonald.
Goals: Boulding 90.
Ref: Craig Charleston