I have two middle-class white friends who have told me that they were busted by the police for dealing cocaine (when they were young - before I knew them - SoL has expired), had their stash confiscated, and told not to do it again. And let go - scot-free. Two independent incidents.
This small experiment doesn't have a control, but I believe that black drug dealers are given more than a mild verbal rebuke. In NYC, you can't even walk down the street while black.