A T-shirt bearing an image of the hip-hop artist Tupac Shakur was briefly on sale this week. It featured his photograph in black and white, with two bright yellow letters, “kk,” splashed across his torso.

The item belonged to line of “vintage” T-shirts marketed online by the celebrity sisters Kendall and Kylie Jenner. The shirts featured photographs and logos of well-known musicians or bands, including Mr. Shakur, the Doors, Metallica, Pink Floyd and the Notorious B.I.G.

But that wasn’t all. Each T-shirt was superimposed with a brightly colored photograph of, or logo associated with, Kylie or Kendall Jenner. They cost $125 apiece.

Critics of the idea were quick to accuse the sisters of seeking to profit from the musicians’ legacies. The sisters apologized on Thursday, and said they had stopped selling the T-shirts.