Cupcakes:
Preheat Oven and Prep Tin
Preheat your oven to 350°F (175°C) and line a 12-cup muffin tin with cupcake liners.
Mix Dry Ingredients
In a medium bowl, whisk together the flour, cocoa powder, baking soda, and salt. Set aside.
Combine Wet Ingredients
In a large mixing bowl, whisk together the granulated sugar, brown sugar, and vegetable oil until smooth. Add the egg and whisk until fully incorporated. Then add buttermilk, vanilla extract, vinegar, and red food coloring, stirring until smooth.
Combine Wet and Dry Ingredients
Gradually add the dry ingredients to the wet ingredients, mixing gently until just combined. Be careful not to overmix.
Bake
Fill each cupcake liner about two-thirds full with batter. Bake for 18-20 minutes, or until a toothpick inserted into the center comes out clean. Allow the cupcakes to cool in the pan for 5 minutes, then transfer them to a wire rack to cool completely.
Cream Cheese Frosting:
Beat Cream Cheese and Butter
In a large mixing bowl, beat the softened cream cheese and butter together until smooth and creamy, about 2 minutes.
Add Powdered Sugar and Vanilla
Gradually add the powdered sugar, beating on low speed to avoid a sugar cloud, then increase to high speed. Add the vanilla extract and continue beating until the frosting is smooth and fluffy, about 2-3 minutes.
Frost the Cupcakes
Once the cupcakes are completely cool, pipe or spread the cream cheese frosting on each cupcake. Add sprinkles or a dusting of cocoa powder, if desired.