Traffic was traveling at around 55 miles per hour. The car in front had to make a quick stop to avoid hitting a flagger that could not be seen due to the sun. My car that is equipped with Hondas forward collision mitigation system did not respond. I pressed the brakes myself but did not stop in time resulting in an accident. The system does activate randomly while driving and will slam the brakes when no objects are in the path of the vehicle.