Being right means being capitalistic or conservative. Less welfare, less public projects, more business oriented, more keeping the status quo.
Being racist is not a quality of being right-leaning. Surely you’re confusing the political spectrum with what kind of people tend to lean towards what. Calling someone racist for being right-leaning, or calling someone far-right for being racist is an association fallacy.
Otherwise you wouldn’t be able to be racist and socialist at the same time.