Preheat your oven to 350°F (175°C) and prepare the cake pans.
In a large bowl, mix the flour and cocoa powder together, then set aside.
In another bowl, mix together the sugar and vegetable oil until well combined.
Add the eggs one at a time, incorporating each fully before adding the next.
Mix in the buttermilk, vanilla, and vinegar until combined; then incorporate the food coloring.
Gradually add the flour mixture to the wet ingredients, mixing until just combined.
Divide the batter evenly between the prepared pans and smooth the tops.
Bake in the preheated oven for 25-30 minutes, or until a toothpick comes out clean.
Let the cakes cool in the pans for 10 minutes before transferring to a wire rack.
Once cooled, frost with cream cheese frosting as desired.