Grease, line, and lightly dust cake pans.
Whisk flour, cocoa powder, baking soda, and salt together.
Beat butter and sugar until light and fluffy.
Add eggs one at a time, then mix in vanilla extract.
Stir buttermilk, vinegar, and red food coloring together.
Alternate adding dry ingredients and buttermilk mixture to the batter, mixing gently.
Divide batter evenly into pans and bake at 350°F (175°C) until centers spring back.
Cool cake layers completely before frosting.
Beat cream cheese, butter, powdered sugar, and vanilla until smooth.
Assemble, frost, and decorate the cake as desired.