(Photo by Alex Wong/Getty Images)

People who view Mormonism favorably are more likely to support Mitt Romney, while people who feel blacks suffer significantly from racial discrimination back President Obama, according to new data released Monday by pollsters from ABC News and the Washington Post.

Related: How the two parties are divided by race and age

The pollsters, attempting to learn the effects of the president’s race and Romney’s religion on the electorate, broke down how non-blacks feel about African-Americans and non-Mormons view Mormonism. Among non-black voters who feel blacks suffer from discrimination, Obama leads 56 to 37 percent. Romney is ahead 59 to 34 percent among those who do not feel African-Americans suffer from discrimination. The candidates were effectively tied among the large majority of people who said they would be fine with one of their relatives marrying a black person, but Romney led 69 to 25 percent among those who would not support that.

On religion, among non-Mormon people who had a favorable view of that faith, Romney leads 54 to 43 percent, while the president has a seven-point advantage among people who don’t view Mormonism positively.