01 - Preheat oven to 350°F. Line a 12-cup muffin tin with paper liners.
02 - In a medium bowl, whisk together flour, cocoa powder, baking powder, baking soda, and salt.
03 - In a large bowl, cream butter and sugar until light and fluffy. Add eggs one at a time, beating well after each addition. Stir in vanilla and peppermint extracts.
04 - Add the dry mixture to the butter mixture in three parts, alternating with milk and sour cream, starting and ending with dry ingredients. Mix until just combined.
05 - Divide batter evenly among the cupcake liners.
06 - Use a toothpick to drag through each cupcake batter to form a marbled swirl effect.
07 - Bake for 18 to 20 minutes, or until a toothpick inserted into the center comes out clean. Allow to cool completely on a wire rack.
08 - Beat butter until creamy. Gradually add powdered sugar, milk, and peppermint extract. Beat until fluffy.
09 - Add a few drops of red gel food coloring to the frosting and gently swirl with a spatula without overmixing.
10 - Pipe frosting onto cooled cupcakes and sprinkle with crushed peppermint candies.