To harmonize means to make different things go well together.
The sweet and sour flavors of the dish harmonized well and tasted great.
Example picture