Preheat oven to 375 degrees. Line two baking pans with parchment and set aside.
In a large bowl, whisk together flour, cocoa powder, salt and baking soda.
In a separate bowl, cream butter, brown sugar and granulated sugar together until smooth and fluffy, approximately 2 to 3 minutes.
Beat in the egg on high speed until combined, scraping down the sides of the bowl as needed.
Add in buttermilk and vanilla and beat until light and fluffy.
Reduce mixer speed to low and add dry ingredients 1/2 cup at a time until just incorporated. Avoid overmixing or cakes will be dry.
Add black food coloring and mix until evenly distributed.
Using a large 2-tablespoon sized cookie scoop, drop rounded balls of batter on baking sheets allowing 3 inches of space between each. (Cookies will spread as they bake.)
Smooth batter with wet fingertips until mounds are evenly shaped.
Bake for 9 minutes or until centers are set and spring back when pressed.
Cool completely before assembling whoopie pie sandwiches.