London is a big place and extends around 15 miles in each direction from Charing Cross, typically marked as the centre of London.
Of course you are always going to find a dodgy area within a couple of hundred square miles that is Greater London.
But anywhere close to Charing Cross you wouldn’t walk through at night?
That is the comparison, as the Tenderloin is just a few blocks from SF tourism central.