Preheat the oven to 170 degrees Celsius and grease the pan with butter to avoid sticking.
In a mixing bowl, whisk the flour, cocoa powder, baking powder, baking soda, salt, and coffee powder.
Add both the brown sugar and white sugar to the dry ingredients and mix again.
Pour in the buttermilk, oil, egg, and vanilla extract. Whisk until the batter looks smooth and well combined.
Slowly add the boiling water and whisk until the batter becomes thin and lump-free.
Transfer the batter to the greased cake pan and bake for 30–35 minutes, or until a toothpick inserted into the center comes out clean.