Why it works: Garlic and onion match in chemistry and in kitchens. They rank in the top 1% of all ingredient pairs, and 29,030 recipes mention both. Both carry furaneol, which smells caramel, strawberry. The science ↓
The recipe
Ingredients
Contains: peanut (auto-detected from the ingredients and method; we can miss things, so check labels)
Also mentioned in the method: peanut
Directions
Prepare the peppers
Wash the peppers.
Mince the peppers in a kitchen machine or meat mincer until a paste forms.
Cook the sambal
Heat 4–5 spoons of peanut oil in a frying pan.
Add the minced onions and garlic to the pan and cook until lightly colored.
Add the pepper paste and the rest of the spices to the pan.
Add 3 spoons of lemon juice and about 2 full spoons of cane sugar.
Cook until done, about 10 minutes, stirring frequently and watching for burning.
If desired, add some water.
Ensure good ventilation.
Remove the Salam leaves and Sereh parts before serving.
This recipe comes from the Recipes Wiki on Fandom and is licensed CC BY-SA 4.0. Our formatting and summaries are shared under the same licence.
Steps grouped into stages for easier reading; the method is the source's own.
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.
-
Garlic + oniontop 1% of all pairsAroma overlapstrongMentioned together29,030 recipes
Shared aroma: furaneol (caramel, strawberry).
-
Pepper + lemontop 2% of all pairsAroma overlapstrongMentioned together27,039 recipes
Shared aroma: 2-nonenal (fatty, green).
-
Garlic + lemon grasstop 4% of all pairsAroma overlapmoderateMentioned together442 recipes
Shared aroma: linalool (floral, citrus).
-
Lemon grass + lemontop 4% of all pairsAroma overlapstrongMentioned together87 recipes
Shared aroma: myrcene (balsamic, herbaceous).
-
Pepper + garlictop 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
- Fresh peppers (lombok)
- Provide the main body, heat and flavour of the sambal as a paste.
- Garlic
- Adds aromatic pungency that mellows and sweetens as it cooks gently.
- Onions
- Soften and sweeten as they cook, forming the base of the paste.
- Cane sugar
- Balances the heat and acidity and helps the sambal caramelise slightly.
- Lemon juice
- Adds acidity that brightens the flavour and balances the sweetness.
The step that matters
Cooking the pepper paste while stirring. Pepper paste and sugar scorch easily over direct heat. Frequent stirring prevents burnt, bitter notes and lets the paste cook down evenly into a rich sambal.
Flavor stand-ins for the onion
How well each one fits the dish's main ingredients (pepper, garlic, lemon grass, lemon, sugar):
- Capsicumbetter flavor fit
- Broccolibetter flavor fit
- Spinachbetter flavor fit
- Onionthe original
Fit is the average pairing score against pepper, garlic, lemon grass, lemon, sugar. 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