The noun (Substantiv/Nomen) Letztere is feminine in German. Therefore, the correct definite article in the nominative singular is die. So, you say: die Letztere.
(the latter)
Die zuletzt Genannten von zwei oder mehreren Dingen oder Personen.
The latter of two or more things or people.
Es gibt Katzen und Hunde; Letztere bellen oft.
There are cats and dogs; the latter often bark.