01 - Preheat your oven to 350°F. Grease and flour two 9-inch round cake pans, or line with parchment paper.
02 - In a large bowl, whisk together the flour, sugar, baking soda, salt, and cocoa powder until well blended.
03 - In another bowl, whisk together the oil, buttermilk, eggs, red food coloring, vanilla, and vinegar until smooth and combined.
04 - Add the wet ingredients to the dry ingredients and mix until just combined; do not overmix to maintain tender texture.
05 - Divide the batter evenly between the prepared pans, smoothing the tops with a spatula.
06 - Bake for 28 to 32 minutes, or until a toothpick inserted in the center comes out clean.
07 - Let cakes cool in the pans for 10 minutes, then turn out onto wire racks to cool completely before frosting.
08 - Beat cream cheese and butter together until smooth and creamy. Gradually add powdered sugar, beating until fluffy. Mix in vanilla and a pinch of salt.
09 - Once cakes are completely cool, place one layer on a serving plate, spread with frosting, top with the second layer, and frost the top and sides evenly.
10 - Chill the frosted cake for 30 minutes before slicing for cleaner cuts and best results.