Preheat oven to 350 degrees Fahrenheit and line two 4-inch heart-shaped cake pans with parchment paper.
Beat butter and granulated sugar together with a hand mixer for three minutes until light and fluffy.
Beat in the egg and vanilla extract until fully incorporated.
Whisk flour, baking powder, and salt together in a small bowl.
Alternate adding flour mixture and milk to the butter mixture, stirring until smooth batter forms.
Divide batter evenly between the two heart pans.
Bake for 18 minutes until cake centers spring back when gently pressed.
Cool cakes in pans for ten minutes, then turn out onto a wire rack to cool completely.
Beat powdered sugar, softened butter, and one drop red food coloring until fluffy pink frosting forms.
Spread raspberry preserves over bottom heart layer, stack top layer, frost cake smoothly, and pipe small border rosettes.