Yes it is totally safe. Remember that 3.5 mm jacks are standard connectors for consumer audio appliances. Such size would not harm your phone in any case but if you put large pin then obviously your phone will be damaged or sound system can get defected.