I don't think they saw themselves as "racist". The term is modern and skin colour was not so important at the time of enslavement. It became so only later as attitudes to the slaves lingered after abolition of slavery. The race was an identity useful to those callous enough to be determined to keep those attitudes alive.
Rather, the slave-owners regarded the people they enslaved as backward in culture, religion and society, lacking NE European standards of education, so fit only for manual labour. Also the slave trade relied very heavily on African and Arabic help.
Yes it was a nasty, cruel attitude born of a mixture of ignorance and feelings of cultural rather than biological superiority; and the campaigns against slavery fought the cruelty, not the racial aspects, seeing the slaves as people beyond their skin colour.
Thank you for your thoughtful and helpful reply Durdle and Happy Friday! Sadly the attitude that people of color are "less than" still prevails among far too many and I guess will never die. Sadly some people REQUIRE scapegoats to hate so they can feel alive. Odd that. :(