01 - Preheat oven to 350°F. Line a 12-cup muffin tin with paper liners.
02 - In a medium bowl, whisk together flour, sugar, cocoa powder, baking soda, and salt.
03 - In a large bowl, whisk together oil, buttermilk, eggs, vanilla extract, vinegar, and red food coloring until well combined.
04 - Gradually add dry ingredients to wet mixture, stirring until just combined. Avoid overmixing.
05 - Divide batter evenly among cupcake liners, filling each approximately two-thirds full.
06 - Bake for 18 to 20 minutes, or until a toothpick inserted into the center comes out clean.
07 - Cool cupcakes in the pan for 5 minutes, then transfer to a wire rack to cool completely.
08 - Beat softened cream cheese and butter together until smooth.
09 - Gradually add sifted powdered sugar, beating until fluffy. Mix in vanilla extract and salt.
10 - Pipe or spread frosting onto cooled cupcakes. Decorate as desired.