Why is it acceptable for car insurance companies to only insure women or people of a certain age, but not..?

..only insure white people, or black people. I know they base it on statistics and all, but even if statistics showed that people of a certain race crashed more I very much doubt a company be allowed to not insure them.
Just a thought.
3 answers 3