The merchandise has never been more plentiful or easier to find. Tote bags that say “United” from H&M. T-shirts emblazoned with “I Am Proud” from Levi Strauss & Co. An inflatable, rainbow-colored whale from Target — a “Pride Narwhal.”

Pride month has drawn a wide range of big-name retailers offering thematic merchandise timed to the celebration of lesbian, gay, bisexual and transgender rights.

But some retailers, including H&M, the European fast fashion retailer Primark, Target and Levi Strauss, manufacture their merchandise in countries where it is either illegal to be gay or where persecution is commonplace.

Primark, which has hundreds of stores across Europe and the United States, has seen a backlash from some L.G.B.T.Q. advocates. It is selling pride-themed items like rainbow fanny packs and sequined caps.