Ingredients:

  • 2½ cups (312 g) all-purpose flour
  • 1½ cups (300 g) granulated sugar
  • 1 tablespoon (5 g) unsweetened cocoa powder
  • 1 teaspoon (5 g) baking soda
  • 1 teaspoon (6 g) fine salt
  • 1 cup (213 g) vegetable oil
  • 2 large eggs (100 g), room temperature
  • 1 cup (240 ml) buttermilk, room temperature
  • 2 teaspoons (10 ml) vanilla extract
  • 1 tablespoon (15 ml) white vinegar
  • 2 tablespoons (30 ml) red food coloring
  • 8 oz (225 g) cream cheese, softened
  • ½ cup (115 g) unsalted butter, softened
  • 4 cups (480 g) powdered sugar, sifted
  • 1 teaspoon (5 ml) vanilla extract
  • Pinch of salt

Instructions:

  1. Preheat the oven to 350°F (180°C). Grease two 9-inch round cake pans, line the bottoms with parchment, and grease the parchment.
  2. Whisk the flour, cocoa, baking soda, and salt in a medium bowl until no cocoa lumps remain.
  3. In a large bowl, whisk the sugar and oil until combined.
  4. Add the eggs one at a time, whisking well after each. Stir in the vanilla.
  5. Mix the red food coloring into the batter until the color is even.
  6. Stir the vinegar into the buttermilk. It may curdle slightly.
  7. Add the dry ingredients in three portions, alternating with the buttermilk mixture and beginning and ending with the flour. Mix on low speed or by hand only until the last streak of flour disappears.
  8. Divide the batter evenly between the two pans.
  9. Bake for 25 to 30 minutes, starting to check at 25 minutes. The layers are done when a toothpick inserted in the center comes out clean or with a few moist crumbs, the top springs back when lightly pressed, and the edges begin to pull away from the pan.
  10. Cool the layers in their pans on a wire rack for 10 minutes.
  11. Run a knife around the edges, invert each layer onto the rack, peel off the parchment, and cool completely, about 2 hours.
  12. Beat the softened cream cheese and butter on medium speed for 2 minutes until smooth and creamy. Scrape down the bowl.
  13. Reduce the mixer to low. Add the sifted powdered sugar in ½-cup portions, mixing until each addition is absorbed before adding the next.
  14. Add the vanilla and salt. Increase to medium-high and beat for 1 to 2 minutes until light and fluffy.
  15. Place one cooled layer on a serving plate. Spread about one-third of the frosting over the top.
  16. Set the second layer on top, top side up. Spread a thin layer of frosting over the top and sides to seal in crumbs, then chill for 15 minutes.
  17. Spread the remaining frosting over the top and sides. Swirl or smooth with an offset spatula.
  18. Chill for at least 30 minutes before slicing for clean edges.