Grease and flour two 9-inch (23 cm) round cake pans, and line the bottoms with parchment paper circles to prevent sticking.
Make the Cake Layers:
In a small bowl, whisk together the soy milk and apple cider vinegar. Let sit for 5–10 minutes until curdled.
In a large mixing bowl, whisk together the cane sugar, flour, cocoa powder, baking powder, baking soda and sea salt. Add the soy milk mixture, applesauce, oil, and vanilla extract.
Mix boiling water and instant coffee in a small bowl until dissolved. Immediately pour into the batter.
Using an electric mixer, beat the batter on medium speed for 2 minutes until fully combined. Scrape down the sides and stir once more by hand to ensure everything is incorporated.
Divide the batter evenly between the two prepared pans.
Bake for 27 minutes, or until a toothpick inserted in the center comes out clean.
Let cakes cool in the pans on a wire rack for 30–60 minutes.
Run a butter knife around the edges, then carefully turn out and let them cool completely on the wire rack.
Frost and Decorate:
Tint most of the frosting light pink (use beet powder or plant-based pink food coloring).
Reserve a small portion of frosting and color it green for piping the message.
Place one cake layer on a serving plate or cake stand.
Add a layer of pink frosting over the first cake.
Top with the second cake layer and apply a layer of pink frosting over the top and sides. Don’t worry about it being smooth—it should look like the homemade cake Hagrid gave Harry.
Use a piping bag with a small round tip (or a ziplock bag with a snipped corner) filled with green frosting to write: "Happee Birthdae Harry"
Notes
Room temperature: This Harry Potter cake will keep up to a day at room temperature, assuming your kitchen isn’t too warm.
Refrigerator: You can refrigerate this cake for up to 4 days. Loosely wrap it in plastic wrap or transfer leftovers to an airtight container.
Freezer: Freeze leftover Harry Potter cake in an airtight container for up to 2 months. Thaw in the refrigerator before serving.
Nutritional information is for cake without frosting, as the exact calculations will depend on the type of frosting you use.