Heat the oven to 350 F.
Lightly spray 2 9-inch round cake pans with cooking spray and line them with cut-out rounds of parchment paper. Set aside.
In a medium bowl, sift together the flour, cocoa powder, baking soda, and salt; set aside.
Combine the butter and sugar in a large mixing bowl with an electric mixer (stand mixer if possible); beat until light and fluffy.
Add the eggs one at a time, beating thoroughly after each addition.
Beat in the vegetable oil, vanilla, and food coloring.
With the mixer on medium speed, beat in the buttermilk and dry ingredients until blended.
Add the vinegar and beat on low speed until blended.
Divide the mixture between the two prepared cake pans.
Bake in the preheated oven until a toothpick inserted in the center comes out with a few crumbs clinging
Cool in the pans for 10 minutes, then remove to a rack to cool completely.