01 - Preheat the oven to 350°F. Line a standard 12-cup muffin tin with cupcake liners.
02 - In a large mixing bowl, thoroughly whisk together the all-purpose flour, granulated sugar, unsweetened cocoa powder, baking soda, and salt until well combined.
03 - In a separate bowl, whisk together the vegetable oil, large eggs, buttermilk, vanilla extract, white vinegar, and red food coloring until the mixture is smooth and evenly colored.
04 - Pour the wet ingredient mixture into the bowl containing the dry ingredients. Mix gently until just combined, being careful not to overmix the batter.
05 - Distribute the cupcake batter evenly among the prepared cupcake liners, filling each approximately two-thirds full.
06 - Bake in the preheated oven for 18 to 20 minutes, or until a wooden toothpick inserted into the center of a cupcake emerges clean.
07 - Carefully remove the muffin tin from the oven and allow the cupcakes to cool in the pan for 5 minutes. Afterward, transfer them to a wire rack to cool completely before frosting.
08 - To prepare the frosting, in a mixing bowl, beat the softened cream cheese and softened unsalted butter together until the mixture is smooth and creamy.
09 - Gradually add the sifted powdered sugar to the cream cheese mixture, beating until the frosting becomes light and fluffy. Stir in the vanilla extract and a pinch of salt.
10 - Once the cupcakes are completely cooled, generously frost each with the prepared cream cheese frosting. Optionally, decorate with festive sprinkles or edible hearts for a special touch.