Why it works: Kidney beans and onion are a kitchen classic. They rank in the top 6% of all ingredient pairs, and 1,050 recipes mention both. Both carry 2-isopropyl-3-methoxypyrazine, which smells earthy, pea. The science ↓
The recipe
Ingredients
Contains: egg, milk, wheat (auto-detected from the ingredients and method; we can miss things, so check labels)
Directions
Drain the kidney beans, reserving the liquid. Heat the beans gently until steaming hot throughout, at least 165°F (74°C). Set aside.
Melt the butter in a saucepan over medium heat. Stir in the flour and cook 1 to 2 minutes, until smooth and bubbling.
Gradually whisk in the vinegar and the reserved bean liquid. Simmer, stirring constantly, for 3 to 5 minutes, until thick and smooth with no lumps.
Stir in the chopped onion, sour relish, salt and a dash of cayenne. Remove from the heat and let cool to room temperature, no longer than 2 hours.
Peel and chop the hard-boiled eggs. Gently toss them and the warm beans into the dressing. Refrigerate covered until chilled, then serve. Keep leftovers refrigerated up to 3 to 4 days.
Cook to a safe temperature. This method doesn't say how hot the inside should get. Check with a food thermometer in the thickest part:
- Beef, pork, lamb and veal steaks, chops and roasts: 145°F (63°C), then rest 3 minutes.
Figures from the USDA's safe minimum internal temperatures.
Original text from the book (5 steps)
For reference only, not instructions. This text may include storage, bottling, preserving or cooking steps that don't meet current food-safety guidance. Use the method above.
Heat the beans.
Melt the butter in a pan and stir in the flour; cook until well blended.
Add vinegar and the juice from the beans; cook until thick, stirring to avoid lumps.
Add the chopped onion, salt, and cayenne pepper; let cool.
Toss in the beans and chopped hard-boiled eggs before serving.
From a scanned old cookbook. The method has been rewritten by AI to follow current food-safety guidance (safe cooking temperatures, refrigeration, no raw-egg shortcuts). It hasn't been kitchen-tested. The original text is under the method.
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.
-
Kidney beans + oniontop 6% of all pairsAroma overlapmoderateMentioned together1,050 recipes
Shared aroma: 2-isopropyl-3-methoxypyrazine (earthy, pea).
-
Flour + buttertop 6% of all pairsAroma overlaplowMentioned together122,858 recipes
Shared aroma: isobutyraldehyde (malty, green).
-
Vinegar + peppertop 6% of all pairsAroma overlapmoderateMentioned together27,805 recipes
Shared aroma: 4'-methylacetophenone (bitter almond).
-
Onion + peppertop 7% of all pairsAroma overlapmoderateMentioned together68,463 recipes
Shared aroma: 2-isopropyl-3-methoxypyrazine (earthy, pea).
-
Onion + vinegartop 7% of all pairsAroma overlapmoderateMentioned together18,203 recipes
Shared aroma: acetic acid (sour, vinegar).
Flour and butter share little aroma chemistry, yet 122,858 recipes mention both: they likely work on texture and structure more than aroma.
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
Flavor stand-ins for the onion
How well each one fits the dish's main ingredients (kidney beans, flour, butter, egg, vinegar, pepper):
- Capsicumbetter flavor fit
- Potatoabout as good a flavor fit
- Asparagusabout as good a flavor fit
- Onionthe original
Fit is the average pairing score against kidney beans, flour, butter, egg, vinegar, pepper. 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).
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