Definitely not racist....He was actually criticized for not adhering to Jewish custom to shun outsiders.
But if we walk in the light, as He is in the light, we have fellowship with one another, and the blood of Jesus, His Son, purifies us from all sin.