DETROIT -- Patrick Kane scored at 3:42 of overtime, and the Detroit Red Wings rallied for a 2-1 victory against the Colorado Avalanche at Little Caesars Arena on Thursday.

Kane took a pass from Dylan Larkin and beat Colorado goalie Justus Annunen from the slot.

The goal came after Larkin tied it 1-1 at 12:02 of the third period with a wrist shot on the power play.

“This is two more points, and they all count the same right now,” Larkin said. “This is a huge team win.”

COL@DET: Kane one-times a beautiful pass to net the overtime winner

Alex Lyon made 30 saves for the Red Wings (30-20-6), who have won three in a row.

Detroit has 18 points (8-14-2) in 24 games when trailing after two periods.

“You don’t win that often when you are trailing going into the third, and you certainly don’t do it as many times as we have this year,” Red Wings coach Derek Lalonde said. “I think that speaks well of our group.”

Nathan MacKinnon scored for the Avalanche (35-18-5), who had won two in a row and three of their past four. Annunen made 28 saves.

“It was a hard-fought hockey game, but I thought [Detroit] was probably the more desperate team in the third period,” Colorado coach Jared Bednar said. “It’s a good road point.”

MacKinnon gave the Avalanche a 1-0 lead at 4:48 of the second period. He took a pass from Mikko Rantanen in the slot and beat Lyon for his 34th goal of the season.

“I thought we created some chances, but we spent too much time in our own end,” Colorado defenseman Cale Makar said. “You can’t do that all night, and some of that is on me. I can’t turn the puck over when we need to get it out of our end.”

COL@DET: MacKinnon puts a shot in on the short side to score first

Red Wings defenseman Jake Walman had a chance to tie it on a breakaway at 15:34 of the second period but shot over the net.

Avalanche forward Logan O'Connor was then called for holding Ben Chiarot with 1:09 remaining in the third, but Annunen made a point-blank pad save on J.T. Compher with eight seconds left in regulation.

“Justus was the reason we got a point,” Bednar said. “I thought he was really good tonight.”

Colorado killed the remainder of the power play in overtime, but Lyon stopped Bowen Byram on a breakaway 36 seconds before Kane’s goal.

“Alex kept us in the game tonight,” Larkin said. “He helped us get the point and he helped us win it in overtime.”

NOTES: Kane scored the 15th overtime goal of his career (regular season and playoffs), the third-most by a United States-born player, behind Johnny Gaudreau (16) and Max Pacioretty (16). He has eight points (three goals, five assists) during a six-game point streak. … Detroit is 9-1-2 in its past 12 one-goal games.