As you probably know, Darwin differed with creationists of his day, in opposing slavery, and declaring that all men were equal in term of rights and dignity. He scandalized most creationists of his day by declaring that if one brought "savages" to England, in a few generations, they'd be just like Englishmen.
Even then, not all creationists were racists, BTW. Samuel Wilberforce (a creationist who debated Huxley on evolution) agreed with Darwin's objections to racism.
Today, it would be hard to find a racist evolutionist, since the theory shows that there are no biological human races. However, into the 1990s, people like Henry Morris, co-founder of the Institute for Creation Research, continued to assert the supposed intellectual and spiritual inferiority of black people. (example on request)
And eugenicists like ICR co-founder William Tinkel, opposed Darwinists like Reginald Punnet who showed that Hitler's and Tinkel's eugenic ideas were scientifically unsupportable.
This is one of the major differences between YE creationists and scientists. And again, the fact that the founders of YE creationism were racists does not mean that they are all racists today. Perhaps even a majority of them now reject that doctrine of YEC. But many still do.