Here is an image showing the pin diagram of this transistor.
Classification of hFE
The KSA812-O transistor can have a current gain of 90 to 180. The gain of the KSA812 will be in the range from 90 to 600, for the KSA812-G it will be in the range from 200 to 400, for the KSA812-L it will be in the range from 300 to 600, for the KSA812-Y it will be in the range from 135 to 270.
Marking
The KSA812-O transistor is marked as "D1O".
Complementary NPN transistor
The complementary NPN transistor to the KSA812-O is the KSC1623-O.
Replacement and Equivalent for KSA812-O transistor