Prep pans and preheat. Preheat the oven to 350° F/180oC. Line cupcake pans with paper liners.
Combine dry ingredients. In a mixing bowl, whisk together cake flour, baking soda, cocoa powder, and salt and set aside. 2½ cups (300 grams) cake flour 1 teaspoon baking soda 2 Tablespoons unsweetened cocoa powder 1 teaspoon salt
Cream butter and sugar. In a second mixing bowl with a hand mixer or in your stand mixer with paddle attachment cream butter and sugar together until light and fluffy, about 2 to 3 minutes on medium speed. Add eggs and beat to combine. Add vanilla, oil, and red food coloring. 1/2 cup (1 stick, 113 g) unsalted butter 1½ cups (300 g) granulated white sugar 2 large eggs ½ cup (120 mL) canola oil 2 Tablespoons (1 oz.) liquid red food coloring 1 teaspoon vanilla extract
Alternate the flour and buttermilk. Stir vinegar into buttermilk. Add and alternate the flour and buttermilk mixture, starting and ending with the flour mixture into the butter mixture. Beat just until combined. Do not overmix. 1 cup (240 mL) buttermilk 1 teaspoon distilled white vinegar
Bake. Divide the batter between the prepared paper liners, filling each about 2/3 full. Bake for about 18 minutes, or until a toothpick inserted in the center comes out clean. Allow to cool in the pan for 5 minutes, then transfer to a cooling rack to cool completely. Frost cooled cupcakes as desired.
Make the frosting. To make the frosting, combine the cream cheese and butter in the bowl of an electric mixer. Beat on medium-high speed until well combined and smooth, about 2-3 minutes. Mix in the vanilla extract. Gradually beat in the confectioners’ sugar and pinch of salt until totally incorporated, increase the speed and then beat until smooth. Frost cooled cupcakes as desired. (I used a large, unlabeled star tip to frost these cupcakes.) 8 oz. (227 g) cream cheese 8 tbsp. (113 g) unsalted butter 2 tsp. vanilla extract pinch of salt 4 cups (452 g) confectioners’ (powdered, icing) sugar