The barbarian really takes a beating in PF2. His AC is not great. Hopefully this becomes better as the barbarian gets higher level. The barbarian deals a lot of damage, but he takes a lot of hits too with medium armor, dex-dependent, and -1 AC when raging.