Switch AC contactor with an ESP-12s - will this circuit work?
Each relay coil + led current take about 80mA. The BC847C is a bit marginal, rated at 100mA, so I would use a better transistor like BC817 or 2222A.  I would reduce R13 an R23 to maybe 3.9k to drive the transistor harder, giving a base current ~1mA.

I might add a resistor 10k base to emitter on each transistor. This would sink any opto leakage current when switched off and keep the transistor firmly off. The datasheets for the genuine PC817C suggest this leakage is tiny (&lt;0.1uA), so probably unnecessary.

The PC817C datasheet gives a CTR of 50%, so to drive 1mA into the transistor, you want at least 2mA through the led of Q22.

The voltage drop of the led in Q22 (1.2v) + voltage drop LED32  (depends on led, red led ~1.8v)is close to the 3.3v from the ESP, so the voltage across R32 is small. This means R32 needs to be small, and the led current will vary a lot with led type, temperature and accuracy of the 3v3 supply.

Why not leave the LED32 out, as you have on an led on the relay, this gives 

R32 = (3.3V - 1.8V) ÷ 2mA = 750ohm, use 680ohm.

Same for Q12,LED31, R31. 

Good luck.

Edit:
Wire led in parallel like this. Choose resistor value to set brightness, and dont use white led as volts drop is too high.



Or to check the isolator led is not open circuit



Remember max ESP8266 pin source current is 12mA.

Edit:
Check on Altium, You may need to add a +5 port symbol to the top 5V rail