And yet the broader gains of the movement have been distributed unevenly. From the inception, it was infused with class tensions that have continued to play out over the intervening decades, creating very different benchmarks of success for those living far outside the parameters of the white professional elite.

The breadth of the gap was clear at a recent Pride rally in the Bronx. It was a celebration, to be sure, but also a political call to arms, held in front of a courthouse on a bright Sunday morning at the same time that a party was underway on a rooftop in Midtown Manhattan — the “Pride Luminaries Brunch,” a tribute to business leaders. In the Bronx, oration came from local elected officials and activists, outlining where priorities ought to lie.

Sean Coleman, who a decade ago liquidated his 401(k) to start an L.G.B.T.Q. community center nearby, took the stage early on, talking about the misplaced cultural focus on the need for gender-neutral bathrooms when “black trans women are being slaughtered in the street with just a hashtag acknowledging their existence.’’

He mentioned Layleen Polanco, a transgender woman who had been arrested on misdemeanor assault charges in April and wound up on Rikers Island because she couldn’t afford the $500 bail. Earlier this month she was found dead in the jail, where she had been placed in solitary confinement. He read the names of black transgender women who had been killed around the country this year. He lamented that the masterful forces assembled for marriage equality seemed to have disbanded even when so much work still needed to be accomplished.