Hi, my husband and I are both black (English) and have been living in BA for nearly 18 months. There are very few black people here and those that are tend to be Brazilian - everyone will immediately assume that you too are Brazilian. We have not experienced any racism at all.
As for safety...