Preheat oven to 350°F (175°C) and line two baking sheets with parchment.
Whisk flour, cocoa powder, baking soda and salt in a bowl.
Cream butter and sugar, then beat in the egg, buttermilk, food coloring and vanilla.
Fold the dry ingredients into the wet mixture until smooth.
Drop rounded tablespoons of batter onto the sheets, spaced well apart.
Bake 10 to 12 minutes, until the tops spring back, then cool completely.
Spread cream cheese filling on the flat side of half the cakes and sandwich with the rest.