In this March 18, 2015, file photo, a Starbucks iced drink with a “Race Together” sticker on it is shown ready for pickup at a Starbucks store in Seattle. Three years ago, Starbucks was widely ridiculed for trying to start a national conversation on race relations by asking its employees to write the words “Race Together” on coffee cups. The initiative, though it backfired, was in line with the company’s longstanding effort to project a progressive and inclusive image. The company is now through the looking glass, trying to tamp down a racially charged uproar over the arrest of two black men at one of its stores in Philadelphia.

NEW YORK — Three years ago, Starbucks was widely ridiculed for trying to start a national conversation on race relations by asking its employees to write the words “Race Together” on coffee cups. The initiative, though it backfired, was in line with the company’s longstanding effort to project a progressive and inclusive image.

The company is now through the looking glass, trying to tamp down a racially charged uproar over the arrest of two black men at one of its stores in Philadelphia. How could Starbucks, which once urged its employees to start conversations about race with customers, now be under fire for its treatment of black people?

The episode highlights the risks large corporations run when they tie their brands so closely to social messaging. In 2015, then-CEO Howard Schultz shrugged off the “Race Together” fiasco as well-intention mistake and pressed on with his public efforts to engage in the debate over race in America. His successor, Kevin Johnson, is now scrambling to keep the Philadelphia incident from shattering the message Schultz was going for: Starbucks is a corporation that stands for something beyond profit.

“The more your brand is trying to connect emotionally to people, the more hurt people feel when these kinds of things happen,” said Jacinta Gauda, the head of the Gauda Group, a New York-based strategic communications firm affiliated with the Grayling network. “They are breaking a promise. That’s what makes it hurt deeper.”

Beyond racial relations, Starbucks has staked much of its brand on its dual promise of providing good customer service and treating its employees well, said John Gordon, a restaurant industry analyst with Pacific Management Consulting Group. The Seattle company has a reputation for well-managed stores, “a point of difference that allows them to sell primarily drinks and coffees that have a higher cost,” he said.

But in a multinational company with more than 28,000 stores worldwide, there has “to be a situation every day where some human being handles things wrong. You can’t have that many employees and not have something stupid happen,” Gordon said. “Even with a huge operations manual that lays out what to say and what to do, you can’t cover everything.”

Still, Starbucks has set its own high bar.

Last month, the company claimed it had achieved 100 percent pay equity across gender and race for all its U.S. employees and committed to doing the same for its overseas operations, an initiative publicly backed by equality activist Billie Jean King. The company also touts the diversity of its workforce, saying minorities comprise more than 40 percent of its employees in the U.S.

In 2016, Starbucks promised to invest in 15 “underserved” communities across the country, trying to counter an image of a company catering to a mostly white clientele. One of those stores opened in Ferguson, Missouri, the scene of the 2014 protests that erupted following the police shooting of Michael Brown, one of several such killings that moved Schultz to launch the Race Together campaign.

Those efforts are in stark contrast to the video that went viral over the weekend showing the two black men being arrested by police who were called by an employee. Officials have said police officers were told the men had asked to use the store’s restroom but were denied because they hadn’t bought anything and they refused to leave.

On Monday, about two dozen protesters took over the Philadelphia shop, chanting slogans like, “A whole lot of racism, a whole lot of crap, Starbucks coffee is anti-black.” The hashtag #BoycottStarbucks trended on Twitter.

Johnson, who called has called the arrests “reprehensible,” arrived in Philadelphia this weekend to personally confront the crisis. He said he hopes to meet with the two men in the next couple of days and apologize to them face-to-face. And he promised to revamp store management training to include “unconscious-bias” training.

“I watched the video, which was hard to watch. That is not what Starbucks is about. That is not representative of our mission, our values and our guiding principles,” Johnson said.

Gauda, who has developed workplace inclusion and diversity strategies for corporate clients, cautioned that any unconscious-bias training should not be treated as “special subject” but incorporated as a core part of its employee training. She warned Starbucks against treating Philadelphia as a one-off affair, urging the company to investigate whether there were any warning signs.

“I would suspect that this particular issue is something that has occurred before,” Gauda said. “The company is in crisis mode now, but they should not look at this as an isolated issue.”

Gauda and other corporate communications experts said they were impressed that Johnson immediately took a hands-on approach to addressing the crisis, saying his efforts would pay off in an age where corporations are under the glare of social media.

“I’m actually surprised he is handling it the way a CEO should be handling it. He went in head first and he took the blame for it,” said M.J. McCallum, vice president and creative director of Muse Communications, an advertising and communications agency with an African-American focus. “I definitely applaud that. Most people won’t jump on the bomb.”

“Starbucks has a great reputation. They stand for a better culture. They have stores in inner cities,” McCallum said. “I think he realizes what this one incident can do for his brand.”

___

Associated Press Writer Joe Pisani contributed to this story from New York.

A Wisconsin man was sentenced Friday to life in prison for kidnapping 13-year-old Jayme Closs and killing her parents in a case that mystified authorities for months until the girl made a daring escape from the remote cabin where she was held for 88 days.

LONDON — Theresa May announced Friday that she will step down as U.K. Conservative Party leader on June 7, admitting defeat in her attempt to take Britain out of the European Union and sparking a contest to become the country’s next prime minister. She will stay as caretaker prime minister until the new leader is chosen, a process likely to...