Preheat the oven to 350 degrees F. Lightly oil and flour 3 (9 by 1 1/2-inch round) cake pans.
In a large bowl, sift together the flour, sugar, baking soda, salt, and cocoa powder. In another large bowl, whisk together the oil, buttermilk, eggs, food coloring, vinegar, and vanilla.