Multiplying color(1, 0, 0) by some float (4.5 in your example), should give you color(4.5, 0, 0).
That should be a very strong red color, and in some color spaces it can become pink because of it’s brightness.
I’m just asking this because I have made these mistakes myself in the past:
Are you making changes to the file that is actually loaded in the Script node?
Did you save the .osl after making changes to it (Assuming you are writing the OSL code in Blenders text editor, saving the project doesn’t also save the text file)?
Did you update the node after making changes and saving the file?