The blue car was at fault, as was the red one but you (black) should have checked carefully to make sure it was safe to proceed before moving out. Therefore it was your error which caused the impact.
I have reservations about this view. It does appear possible that the driver of the red car may have pulled out to 'skip' around the yellow car - this is a common fault caused by impatience when a vehicle ahead is slowing to make a turn. I would consider the red car to be at least 50% to blame - possibly 100% to blame if that driver had been at a sensible distance behind the yellow car and had waited for the yellow car to complete its left turn. In this situation, the red car would have been able to safely stop without a collision.
One of the key pieces of advice in the Highway Code is "to proceed only when it is safe to do so". Too many drivers take the attitude that it is the responsibility for all other drivers to take the necessary precautions, and not for themselves to share this burden.