Why it works: Cocoa and vanilla work together. They rank in the top 4% of all ingredient pairs, and cooks put them together in 357 recipes. Both carry sotolon, which smells curry, maple. The science ↓
Midnight Cake
Ingredients
Directions
The book gives no oven temperature. The 350°F (175°C) in the steps was added when the recipe was transcribed, as a starting point.
Make the chocolate base
Heat ½ cup sweet milk in a saucepan.
Stir in 1 cup brown sugar and 1 cup cocoa until melted.
Beat 1 egg yolk with 1 tablespoon milk.
Add the mixture to the hot chocolate gradually.
Remove from heat, let cool, and stir in 1 teaspoon vanilla.
Make the batter
In a separate bowl, cream ½ cup butter and ½ cup brown sugar.
Add 2 egg yolks and beat well.
Mix in ½ cup sweet milk and 2 cups sifted flour.
Add the chocolate mixture and the beaten egg whites.
Dissolve 1 teaspoon baking soda in 1 tablespoon vinegar.
Fold the dissolved mixture into the batter.
Beat the mixture for five minutes.
Bake and make the filling
Bake in two layers at 350°F (175°C).
For the filling, cook 1 cup white sugar, 1 cup brown sugar, 1 cup water, and 1 tablespoon vinegar until it spins a thread.
Add a few marshmallows.
Pour the marshmallow mixture over the beaten egg whites.
Transcribed from a scanned cookbook and modernised for today's kitchens. Where the book gave no heat or time, or said "a moderate oven", the temperatures and times here may be modern equivalents rather than the book's own figures.
Explore the science
The flavor team
The pairs that carry this dish. Each one is judged two ways: how much their aromas overlap, and how often cooks already put them together.
-
Cocoa + vanillatop 4% of all pairsSmell alikemoderateCooked together357 recipes
Shared aroma: sotolon (curry, maple).
-
Milk + vanillatop 5% of all pairsSmell alikemoderateCooked together19,187 recipes
Shared aroma: ethyl caproate (fruity, apple peel).
-
Milk + buttertop 7% of all pairsSmell alikemoderateCooked together81,283 recipes
Shared aroma: (z)-4-heptenal (biscuit, cream).
-
Sugar + vanillatop 8% of all pairsSmell alikelowCooked together35,032 recipes
Shared aroma: beta-damascenone (apple, rose).
-
Milk + cocoatop 10% of all pairsSmell alikemoderateCooked together643 recipes
Shared aroma: methyl 2-methylbutyrate (fruity, apple).
Sugar and vanilla barely smell alike, yet cooks put them together in 35,032 recipes: they work on texture and structure more than aroma.
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
What each ingredient does
- Flour
- Provides the structure that holds the cake's crumb together as it bakes.
- Butter
- Adds fat for a tender texture and rich flavour in the batter.
- Cocoa
- Gives the cake its chocolate flavour and dark colour.
- Egg whites
- Trap air when beaten, helping the cake rise and turn light.
- Baking soda
- Reacts with the vinegar to release gas, helping the batter rise.
The step that matters
Fold the dissolved mixture into the batter. Baking soda reacts with vinegar immediately, releasing gas. Folding gently keeps the bubbles in the batter so the cake rises well instead of going flat.
Swap the cocoa
How well each one fits the dish's main ingredients (milk, sugar, egg, vanilla, butter, flour, vinegar):
- Almondfits better
- Chestnutfits better
- Hazelnutfits about as well
- Cocoathe original
Fit is the average pairing score against milk, sugar, egg, vanilla, butter, flour, vinegar. Candidates are from the same food group and used in at least 100 recipes.
“What each ingredient does” and “The step that matters” were written by Claude from this recipe’s own method and reviewed in samples by CompKitchen.
You might also like
The free Flavor Lab newsletter: one surprising pairing a week and the molecular reason it works, in 60 seconds. No spam, unsubscribe anytime.
Prefer an account? Create a free account to save pairings and unlock the full chemistry.
Vanilla Ice Cream108 recipes
Coconut Pudding26 recipes
Coconut Cake17 recipes
Cocoa Nut Candy11 recipes