Preheat the oven to 350°F (175°C)
Grease and line cake pans
Mix flour, sugar, cocoa powder, baking soda, and salt
In another bowl, whisk buttermilk, oil, eggs, red food coloring, vanilla extract, and vinegar
Combine the wet and dry ingredients
Mix until just smooth
Divide the batter evenly into the pans
Bake until a toothpick comes out clean
Cool the cakes completely
Beat cream cheese, butter, powdered sugar, and vanilla extract for the frosting
Spread frosting between the layers and over the cake
Chill before slicing if desired
