A “Hart to Hart” remake is in the works at NBC with a gay couple at the center, Variety has learned.

The project hails from producer Carol Mendelsohn and Sony TV, and is based on the ABC series that ran from 1979-1984 and starred Robert Wagner and Stefanie Powers. Christopher Fife is on board to write, and will executive produce with Mendelsohn and Julie Weitz.

According to Variety sister site Deadline, who first broke the news, the new “Hart to Hart” is described as a modern and sexy retelling of the classic series that focuses on “by the book” attorney Jonathan Hart and free-spirited investigator Dan Hartman, who must balance the two sides of their life: action-packed crime-solving in the midst of newly found domesticity.

The original drama was created by Sidney Sheldon and centered around Jonathan and Jennifer Hart, a wealthy couple who often acted as amateur detectives. The show spawned eight TV movies that aired between 1993 and 1996.

The project has earned a script commitment plus penalty at NBC after interest from multiple networks.

NBC recently scrapped plans to revive “Coach,” which would’ve seen original star Craig T. Nelson reprising his titular role. The series landed a straight-to-series 13-episode order and was slated for a midseason debut, but the network later reversed course, citing creative issues. The Peacock hopes to have better luck with “Heroes” sequel series “Heroes Reborn,” which debuts Sept. 24.

Other retro shows that are set to return to the small screen include revivals of “The X-Files” on Fox, “Twin Peaks” on Showtime and “Fuller House” on Netflix.