Preheat the oven to 340°F (170°C). Grease and line an 8x8inch (20x20 cm) square baking tin with baking paper, leaving some overhang for easy removal.
Melt the butter and dark chocolate together using a double boiler or microwave. Once smooth, stir in the powdered sugar, light brown sugar, vanilla and warm milk.
Whisk until the sugars are dissolved. Add the flour, cocoa powder, baking powder, and salt, then whisk until the batter is smooth and well combined.
Pour the batter into the prepared tin and bake for 25–30minutes, or until the brownies are set in the center and slightly risen. Let them cool completely in the tin.Prepare the coconut layer.