The reason that I ask is because using a 50 amp breaker and a 50 amp socket with #12 wire is both illegal and dangerous.
Not thats ita a good idea but it can be both legal and safe.