UX design refers to how the user perceives the module. The emotions they feel while operating on a website or mobile application. This is where psychology enters. The colors stimulate different emotions in a human and the right combination can lead to a better user experience.