Hazel Dukes and Bertha Lewis, notorious New York City race-baiters, claim that public-school reformer Eva Moskowitz is running a “kindergarten-to-prison pipeline” that contributes to the “mass incarceration” of blacks, Hispanics and other “persons of color.”

That’s pretty rich, coming from two ladies who have accepted hundreds of thousands of dollars from the whiter-than-an-Arctic-blizzard United Federation of Teachers — a union in a death struggle with constructive change in the city’s predominately black and Hispanic public schools.

The pair’s charges would be hilarious if they weren’t so perverse — hilarious because Dukes and Lewis are so transparently wrong; perverse because their hypocrisy is so costly to the hundreds of thousands of black and Hispanic kids trapped in sclerotic public schools.

Moskowitz’s sin is that she offers a stunningly high-achieving alternative public-school model: the Success Academy charter schools, which are not perfect and certainly not for everybody, but which teach black and Hispanic kids to read, write and do numbers at levels that shame traditional schools.

Here’s the not-perfect part: The New York Times a couple of weeks ago discovered that a 500-pupil Success school in Brooklyn’s Fort Greene had the names of 16 habitually disruptive kids on a list, with the intent to “move [them] out” of the school.

Here’s the not-for-everybody part: Success makes no secret of its unwillingness to ignore the disruptions caused by kids who chronically don’t behave. Disorder makes learning impossible — and every school in New York City suffers from it.

While Success does its best to work with such kids — the families of seven of the 16 at the Fort Green school have asked for and gotten a second chance — traditional UFT-dominated schools do it differently: They shuffle troublemakers into special-education programs, from which they rarely emerge until they age out of the public-school system.

Or — speaking of the prison pipeline that Dukes and Lewis invoked after the Times story — go to jail.

Along with an operative from the statewide teachers union — New York State United Teachers — Dukes and Lewis demanded no end of investigations of the Success system, with a view toward shutting it down.

This was predictable. It was time to sing for their supper — and a lavish meal it’s been.

Dukes is president of the New York NAACP, which declared against charter schools generally shortly after collecting some $100,000 from the UFT. And the union happily funds NAACP operating expenses — including, on occasion, paying for fleets of protest buses to Albany and elsewhere.

Lewis, who headed the New York chapter of the radical hive ACORN until it was disbanded following a national scandal, now runs the Black Institute — which collected almost $300,000 last year from the UFT.

For activist organizations to accept fees for services is neither novel nor intrinsically wrong — but cash obviously impeaches credibility, not that Dukes or Lewis had all that much to begin with.

Again, they claim to speak for black and Hispanic kids in New York’s public high schools — but consider just this one snapshot: Fully 97 percent of the black kids who last year took the College Board’s Advanced Placement exams — essentially college-gateway tests — failed them. And 95 percent of Hispanic kids flunked.

What the hell are Dukes, Lewis and the UFT so proud of, anyway?

Meanwhile, Eva Moskowitz’s kids — admittedly, grade-schoolers; charters haven’t been around very long — ace every test they take.

So Dukes and Lewis are reduced to race-baiting on behalf of the unions. But that just makes them look foolish.

The UFT was founded by a white man, Albert Shanker, and is now led by a white man, Michael Mulgrew. In between, it was run by two white women — Sandra Feldman and Randi Weingarten, who now heads the union’s national organization, the American Federation of Teachers.

Meanwhile, NYSUT is fronted in Albany by the elfin Billy Easton, a white man, and is presided over by a white woman, Karen Magee, who took control last year from long-time president Richard Iannuzzi — you guessed it, a white man. And the two unions’ governing boards are singularly lacking in persons of color.

This is not the main reason the unions are so disrespectful of the needs of black and Hispanic kids — the UFT and NYSUT are mostly about salaries, pensions and protecting incompetence — but it’s likely a major factor.

On the other hand, what would the unions want with minority leadership when they can hide behind Dukes and Lewis — that is, when they can project the illusion of diversity without having to deal with its disruptions?

Bottom line: Dukes and Lewis deliver for the unions; Eva Moskowitz performs for the kids.