Add a stroke to your object, then convert the stroke into a path:
Object>Path>Outline Stroke—Outline Divide
Fill the outlined stroke with a mix of 2 colors needing trapping. Use the pathfinder to subtract from the shape of your stroke.

•
Add a stroke to your object, then convert the stroke into a path:
Object>Path>Outline Stroke—Outline Divide
Fill the outlined stroke with a mix of 2 colors needing trapping. Use the pathfinder to subtract from the shape of your stroke.