Yes, salt can act as a flavor contrast in desserts, enhancing sweetness and other flavors by creating a more complex and balanced taste profile.
Salt's primary role in desserts isn't to make them salty, but rather to enhance the existing sweet flavors and balance the overall taste. It does this through a few mechanisms. First, salt suppresses the perception of bitterness, which can be present in ingredients like chocolate or coffee. By reducing bitterness, the sweetness becomes more prominent. Second, salt enhances the perception of sweetness itself. It interacts with taste receptors on the tongue, making them more sensitive to sweet flavors. Finally, salt can also bring out other subtle flavors in a dessert, such as nutty or caramel notes, creating a more complex and satisfying taste experience. The key is to use salt judiciously; too much will obviously make the dessert taste salty, defeating the purpose. A small pinch is usually all that's needed to achieve the desired effect.
Use flaky sea salt as a finishing salt on desserts like chocolate chip cookies or brownies. The larger crystals provide a burst of salty flavor that contrasts beautifully with the sweetness, creating a delightful textural and taste experience.