The ongoing COVID-19 pandemics disproportionately affects people from Black and African American backgrounds. We propose a model to quantify the dynamic segregation of ethnicities in a city, based on passage times and coverage times of random walks on graphs. The results confirm that knowing where people commute to, rather than where they live, is potentially much more important to contain and curb the spreading of infectious diseases.