Talk to your OB-GYN first - they know your specific situation and medical history better than anyone online can, and that's the safest starting point.
That said, most medical sources suggest hair dye is probably okay during pregnancy, especially if you're doing it in a well-ventilated space. The chemicals don't absorb into your bloodstream in significant amounts through your scalp, and the evidence of actual harm from hair dye during pregnancy is pretty thin. A lot of people dye their hair while pregnant without complications. The concern is more theoretical than proven, which is why doctors often say it's your call rather than a hard no.
If you want to feel more cautious about it, you could try root touch-ups with semi-permanent dye instead of permanent, ask your colorist about ammonia-free options, or space out your dyeing sessions more than usual. Some people also switch to highlights or lowlights temporarily since those don't touch the scalp as directly. Ultimately though, if your regular brand has worked fine for years and you use it in a room with good airflow, waiting four more months or coloring your hair is genuinely a personal risk-assessment call - just run it by your doctor first to be sure there's nothing specific to your pregnancy that would change the equation.