Your father sounds very human. Complex, flawed at times, but still possessing many good qualities.
My mother had a high school history teacher who told his student, "No one is born free. We are all prisoners of our time."
We can both acknowledge racism as wrong and at the same time have compassion for flawed human beings who lack, as we all do, a perfect understanding of the world.
No doubt future generations will be horrified by some of our attitudes.