01 - Preheat the oven to 350°F (175°C). Grease and flour three 8-inch round cake pans.
02 - Sift together flour, sugar, baking soda, salt, and cocoa powder in a large bowl.
03 - Whisk together vegetable oil, buttermilk, eggs, red food coloring, vanilla extract, and white vinegar until fully combined.
04 - Gradually add wet ingredients to the dry mixture, stirring gently until smooth and homogeneous.
05 - Divide the batter evenly among the prepared cake pans.
06 - Bake for 25 to 30 minutes, or until a toothpick inserted into the center emerges clean.
07 - Allow cakes to cool in the pans for 10 minutes, then transfer to wire racks to cool completely.
08 - Beat softened cream cheese and butter together until creamy. Gradually add powdered sugar, mixing until fluffy. Stir in vanilla extract and salt.
09 - Place one cake layer on a serving plate and spread with frosting. Repeat with remaining layers, then coat the sides and top evenly.
10 - Refrigerate for 30 minutes to firm frosting for easier slicing. Serve at room temperature.