Pedro, who only appears in two flashbacks in Encanto, is Alma’s husband and the father of their three children. The couple met at a celebration of the Day of Small Candles, where Alma got the candle blessed with the miracle of Madrigal.
When Pedro and his wife were young, trouble began in the village they lived in, prompting Alma to flee and Pedro sacrificing himself to save his new family.
In a tweet, Jared said that Pedro was 26 years old when he died.
https://www.distractify.com/p/how-old-are-the-characters-in-encanto How old are the characters in ‘Encanto’? What are their powers?