Preheat oven to 350 degrees Fahrenheit and line a 12-cup muffin tin with paper liners.
Whisk flour, dark cocoa powder, baking powder, and pinch of salt in a bowl.
Beat butter and granulated sugar together in a mixer bowl until light and fluffy.
Add eggs one at a time, beating thoroughly after each addition.
Stir pure vanilla extract into wet batter.
Add dry flour mixture alternately with milk on low speed until smooth batter forms.
Divide batter evenly among liners, filling each cup two-thirds full.
Bake for eighteen to twenty minutes until tops spring back to gentle touch.
Cool cupcakes completely on wire racks before piping frosting.
Beat powdered sugar, extra butter, and raspberry jam into fluffy pink buttercream.
Pipe frosting swirls over cooled cupcakes and top each with one fresh raspberry.