Green bars are base stats, they are relative to max stat (max is displayed as full bar).
Red bars are stats that you gain through equipment.

Proportions are broken, so it's hard to understand anything by looking at those bars.

Examples:

Base stats: 3.1k/3k/105 - displayed as 100% bar/50% bar/50% bar.
With bonus 33% equipment: 4k/3.9k/138 - displayed as 15%green+85%red/10%green+85%red+5% empty/10%green+85%red+5% empty.

Also gains due to equipment seems to be broken too:
3.1k+33% displays increase of +933
3k+33% displays increase of +934 (why is it more than for 3.1k?)
105+33% displays increase of +33 (instead of +34)

106/101/113 with 33% equipment all display increase of +33 instead of +35/+33/+37