Of course they can't ping each other, they are on different network, if you want to do that , you need to create son mechanism that do some kind of routing.
The thing is, without routing, the communication only will be able between PC on the SAME vlan, because vlans divide the space into broadcast domains, in other words, NETWORKS, one vlan means one NETWORK.
On your question, you have 2 networks.
Create one vlan interface 50 with ip 10.1.50.1/24, and one vlan interface 60 with ip 10.1.60.1/24.
Then, one PC on vlan 50, put your gateway on 10.1.50.1, and on the other PC on vlan 60, to 10.1.60.1.
Finally, ACTIVATE IP routing on switch
With that, ping should be succefull.