Heat the oven to 350°F (180°C), or 320°F (160°C) fan, and line a standard 12-hole muffin tin.
Sift the cake flour, cocoa, baking soda, and salt into a bowl.
Beat the softened butter for one minute, then add the sugar and continue until the mixture is very pale and airy.
Add the eggs one at a time, beating briefly after each addition.
Mix in the oil, buttermilk, vanilla, and red food coloring on low speed.
Scatter the dry ingredients over the wet mixture.
Mix on low only until the batter is smooth; a few small lumps are preferable to a fully beaten batter.
Divide the batter between the liners, filling each about three-quarters full.
Bake for about 20 minutes.
Move the cupcakes to a wire rack immediately and cool completely.
Beat the softened cream cheese and butter until smooth.