How to read a PWM OUTPUT PIN value?
According to the source code implementation of analogWrite function
(Arduino analogWrite source code explanation).

You can use OCRnx register for reading PWM value.