Riboflavin, also known as Vitamin B2, is commonly used in cosmetics as a skin-conditioning agent due to its ability to improve skin hydration and overall appearance. It can also function as a colorant, providing a yellow or orange hue to cosmetic products, such as lipsticks or eyeshadows.