The nominative case is racist.
But the objective case is appropriate here. The preposition /to/ is understood.