Like any city, best for women to be accompanied at night. However, you have taxis and can avoid out of town areas. Chicago isn't the most dangerous place in the US but it has a fair share of homicides.
This doesn't mean these are random attacks on tourists, though. There are areas to avoid, and like any trip, you should research before you go. Planning is the answer. Take care, but Chicago isn't worse than many places.