Why it works: Onion and ketchup are a kitchen classic. They rank in the top 11% of all ingredient pairs, and 1,995 recipes mention both. Both carry ethanol, which smells alcoholic, ethereal. The science ↓
The recipe
Ingredients
Contains: milk, wheat (auto-detected from the ingredients and method; we can miss things, so check labels)
Directions
Prepare and brown
Chop the onion and garlic very small.
Fry the onion and garlic in butter until browned.
Stir in the flour and cook until brown.
Simmer and finish
Add water, stir, and bring to a boil for 10-15 minutes.
Strain the sauce and season with salt, pepper, and mushroom ketchup.
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.
Found this recipe through an AI assistant? CompKitchen also shows which ingredients go well together and why, from the aroma molecules they share and how often recipes combine them. Try the pairing tools.
Explore the science
The flavor team
The pairs that carry this dish. Each one is judged two ways: how much aroma chemistry they share, and how many recipes mention both.
-
Onion + ketchuptop 11% of all pairsAroma overlaplowMentioned together1,995 recipes
Shared aroma: ethanol (alcoholic, ethereal).
-
Onion + garlictop 1% of all pairsAroma overlapstrongMentioned together29,030 recipes
Shared aroma: furaneol (caramel, strawberry).
-
Butter + mushroomtop 3% of all pairsAroma overlapstrongMentioned together12,516 recipes
Shared aroma: guaiacol (smoky, sweet).
-
Garlic + mushroomtop 4% of all pairsAroma overlapmoderateMentioned together4,685 recipes
Shared aroma: linalool (floral, citrus).
-
Garlic + peppertop 5% of all pairsAroma overlapmoderateMentioned together27,044 recipes
Shared aroma: beta-phellandrene (minty, terpene).
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
What each ingredient does
- Onion
- Browning builds sweetness and savoury depth as its sugars caramelise.
- Garlic
- Adds aroma that mellows and deepens during frying.
- Butter
- Fat carries the cooking heat and helps the onion and garlic brown.
- Flour
- Thickens the sauce as its starch swells in the liquid, and browning adds nutty flavour.
The step that matters
Stir in the flour and cook until brown. Flour must be cooked in the fat until it turns brown to remove its raw, floury taste and add nutty colour. Stopping early leaves the sauce pale and tasting raw, while over-browning makes it bitter.
Flavor stand-ins for the garlic
How well each one fits the dish's main ingredients (onion, butter, flour, pepper, mushroom, ketchup):
- Thymeabout as good a flavor fit
- Garlicthe original
- Celeryabout as good a flavor fit
- Parsleyabout as good a flavor fit
Fit is the average pairing score against onion, butter, flour, pepper, mushroom, ketchup. Candidates are from the same food group and used in at least 100 recipes. This compares flavor only: it does not check the job the ingredient does in the dish (bulk, moisture, acidity, structure).
“What each ingredient does” and “The step that matters” were written by Claude, an AI, from this recipe’s own method. They are not checked recipe by recipe, so they can be wrong.
Make it your own
Stand-ins, a drink, and quick taste fixes for this dish, ranked by how well each fits its other ingredients: shared aroma molecules and how often recipes combine them.
You might also like
The Sunday pairing: one pairing, the chemistry behind it, and how to cook it. No spam, unsubscribe anytime.
Prefer an account? Create a free account for sign-in; Pro adds the full results and chemistry.
Illustration
Illustration
Illustration
Illustration