I stick to 1000*1500 px which is the size that Pinterest recommends. However, most graphic design tools offer a standard (free) Pinterest design in 2:3 ratio that is also completely fine. In the past, taller pins did well, but now Pinterest tends to cut them off in the mobile feed.