In Australia, LED brake lights are legal so long as they can be seen from up to 200m away and function as intended. Including but not limited to, emitting red light when braking. For more information, check your state’s local laws and regulations from their Department of Transport and Main Roads.