Preheat your oven to 350°F (175°C) and prepare your baking pans.
In a large mixing bowl, whisk together the flour, cocoa powder, baking soda, and salt.
In another bowl, combine the sugar and vegetable oil, then mix well.
Add the eggs, buttermilk, vanilla extract, and food coloring to the oil mixture, mixing until combined.
Gradually add the dry ingredient mixture to the wet mixture, mixing until just combined.
Divide the batter evenly between the prepared cake pans.
Bake in the preheated oven for 25–30 minutes or until a toothpick inserted in the center comes out clean.
Allow the cakes to cool in the pans for 10 minutes before transferring to a wire rack to cool completely.
Once cooled, frost with cream cheese frosting and decorate as desired.