Salvador is where Brazil started, and it's also where much of what the world calls Brazilian was put together under the worst possible conditions. The Portuguese founded the city in 1549 under Tomé de Sousa, the first governor-general, and it stayed the colony's capital until 1763. It was a major port of the slave trade: Brazil took in more than five million enslaved Africans, more than any other country, and was the last in the Americas to abolish slavery, in 1888. The historic center, Pelourinho, is named after the whipping post where enslaved people were punished in public. The same hill was listed by UNESCO in 1985.
That history isn't a footnote here, it's the living city. In the 2022 census about 34% of residents counted themselves Black and 49% mixed-race, and you can taste, hear and see the African inheritance in a day: acarajé fried in palm oil on a street corner, women in white lace selling it, capoeira in a square, drums in an old stone lane, Candomblé's deities carved on a museum wall. Salvador isn't a polished city. The old town is steep and a bit scruffy, the heat is real, and you need to look after your phone. In return you get one of the most distinctive places in Latin America, with city beaches and a very good coast an hour away.
Five days fits it well: four days in the city and one on the coast at Praia do Forte. Day one is Pelourinho and the Upper City, day two the Lower City and the Bonfim church, day three Rio Vermelho and Barra, day four the beaches of Itapuã and Stella Maris, day five the coast. Start on a Tuesday if you can: the Afro-Brazilian museum is a weekday museum, and Tuesday is also the night of Olodum's weekly Benção in Pelourinho in the January and February season. Salvador is also the easiest way into the Northeast of Brazil.