Refers to a state of being contrary or adverse.
A pesar de la contrariedad, logramos terminar el proyecto a tiempo.
Despite the adversity, we managed to finish the project on time.
A pesar de la contraridad que enfrentó en su vida, nunca perdió la esperanza ni la fe.
Despite the adversity she faced in her life, she never lost hope or faith.