You can't be a Christian and be racist at the same time. You can't hate your brother and love God at the same time. So racist people don't love God.
1 John 2
7 (
19) Beloved, I am (
20) not writing a new commandment to you, but an old commandment which you have had (
21) from the beginning; the old commandment is the word which you have heard.
8 On the other hand, I am writing (
22) a new commandment to you, which is true in Him and in you, because (
23) the darkness is passing away and (
24) the true Light is already shining.
9 The one who says he is in the Light and yet (
25) hates his (
26) brother is in the darkness until now.
10 (
27) The one who loves his brother abides in the Light and there is no cause for stumbling in him.
11 But the one who (
28) hates his brother is in the darkness and (
29) walks in the darkness, and does not know where he is going because the darkness has (
30) blinded his eyes.