Diagnosis of gray baby syndrome is primarily clinical, based on the history of exposure to chloramphenicol and the characteristic symptoms. Blood tests revealing high levels of chloramphenicol and the presence of lactic acidosis can support the diagnosis. Early recognition is crucial to manage and prevent potentially fatal outcomes.