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 oil, buttermilk, eggs, vanilla, vinegar, and red food coloring until well combined.
04 - Gradually add dry ingredients to the wet mixture, stirring until just combined. Do not overmix.
05 - Divide batter evenly among cupcake liners, filling each approximately 2/3 full.
06 - Bake for 18–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 cream cheese and butter together until smooth.
09 - Gradually add powdered sugar, beating until fluffy. Mix in vanilla and salt.
10 - Pipe or spread frosting onto cooled cupcakes. Decorate as desired.