Lee Grant — who was blacklisted in Hollywood for 12 years, then won an Oscar for the 1975 Warren Beatty movie “Shampoo” — has a new memoir dishing on the theater world of the ’50s and Hollywood of the ’70s.

Grant, 87, was on the Upper West Side for a Q&A, where guests included singer Barbara Cook, 86, actress Barbara Barrie, 83, and relative youngster Joy Behar, 71.

When Grant couldn’t recall a director’s name while telling one anecdote, she quipped, “I’m bad with names now . . . at least when I was blacklisted, I didn’t name names,” which got thunderous applause.

She also quoted from her tome, “I Said Yes to Everything,” of her spouses — blacklisted screenwriter Arnold Manoff and producer Joe Feury — “I was married to a communist and a fascist . . . both didn’t take out the garbage.”