A crazed subway rider yelled “you white bitch” as he slashed a random Manhattan woman’s cheek with a razor blade in a Midtown station — and was then held down by fellow straphangers until police arrived, authorities said Monday.

The 24-year-old woman was on a southbound E train at the East 53rd Street and Fifth Avenue station around 6 p.m Saturday when Harlens Hernandez, 25, approached, yelled at her and cut her left cheek, cops said.

Hernandez, who had a box cutter, was heard to say “I’m going to take your eye out” and “you white bitch” to the victim, witnesses told police, according to a criminal complaint.

Other passengers held Hernandez down until police came and arrested him. The woman — who did not know her attacker — was taken to Presbyterian Hospital.

He was charged with assault, criminal possession of a weapon and menacing, cops said. He is being held on $25,000 bail.