Theater actor Andy Mientus, who is currently starring as Marius in the Broadway revival of “Les Misérables,” has joined the CW’s breakout hit “The Flash” to play the hearing impaired, openly gay villain Pied Piper (aka Hartley Rathaway). Mientus’ role will be the first gay supervillain ever to be featured on the small or big screen.

“With the gay thing, I feel like I’m representing a whole community,” Mientus, 28, told Variety at the “Into the Woods” premiere in New York on Monday night. “People are excited to see this character, so it is a lot of pressure. But I’m glad they are introducing the character to the show. It’s a huge step forward, and I’m thrilled to help make that happen. It’s awesome.”

Mientus, who is engaged to actor Michael Arden, admits he’s more nervous about pleasing the comicbook’s avid fans than addressing his character’s sexuality.

“The universe of ‘The Flash’ has such an intense, passionate fanbase, which has existed since the ’60s, and this is the first time he’s been in a live-action, on-camera interpretation, so I hope I pulled it off.”

One thing he enjoyed was donning his comicbook character’s costume — which is black and comes with a hood and a cape.

“It’s badass. I can’t put it on and not feel powerful,” said Mientus, who originally auditioned to play Barry Allen, aka the Flash. “It tells you everything you need to know on how to move and feel like a superhero. It does a lot of the work for you.”

Mientus will make his debut in the episode set to air on Jan. 27.

“The Flash” airs Tuesdays at 8 p.m. on The CW.