A couple walking through the Upper West Side had anti-white statements spewed at them before suspects struck the man in the face with a skateboard and robbed him, authorities said.

The 61-year-old man was walking with his 54-year-old wife near the corner of West End Avenue near West 77th Street when two men approached them and started harassing them around 6:30 p.m. Friday.

“F—ing white cracker,” one of the suspects yelled before spitting in the man’s face, according to authorities.

The other man then smashed the 61-year-old across the face with the skateboard, knocking him to the ground.

His wife attempted to intervene, cops said, but was also thrown to the sidewalk.

While the victim was on the ground, the men then ripped off his jacket and ran off with it.

The couple were rushed to St. Luke’s Roosevelt Hospital for treatment.

Both suspects are described as black or Hispanic, police said. One is approximately 5-foot-10 and was last seen wearing dark clothing, a black helmet. He was holding a skateboard.

The other is approximately 6-foot-4 and was wearing dark clothing and had what appeared to be a pink Mohawk, cops said.

Additional reporting by Emily Saul