01 - Preheat the oven to 350°F. Grease and line two 8-inch round cake pans with parchment paper.
02 - Blend strawberries and sugar in a blender or food processor until smooth. Reserve 1/2 cup for the cake batter and 1/4 cup for the frosting.
03 - Sift together cake flour, baking powder, baking soda, and salt in a medium bowl.
04 - Beat butter, oil, and sugar together in a large bowl until light and fluffy, approximately 3 minutes.
05 - Add eggs one at a time, beating well after each addition. Mix in vanilla extract.
06 - Mix in the strawberry purée and food coloring, if using, until evenly distributed.
07 - Alternately add the dry ingredients and buttermilk to the wet mixture, starting and ending with dry ingredients. Mix until just combined; avoid overmixing.
08 - Divide the batter evenly between the prepared pans. Smooth the tops with a spatula.
09 - Bake for 28–32 minutes, or until a toothpick inserted in the center comes out clean. Let cakes cool in pans for 10 minutes.
10 - Turn cakes out onto wire racks and allow to cool completely before frosting.
11 - Beat cream cheese and butter together until smooth. Gradually add powdered sugar, beating until fluffy. Mix in vanilla and strawberry purée until well combined.
12 - Place one cake layer on a serving plate. Spread a layer of frosting on top. Add the second cake layer and coat the top and sides with the remaining frosting.
13 - Decorate with fresh strawberries. Chill for 30 minutes before slicing to ensure clean layers.