Google says that $C8H11NO2$ is the correct formula for dopamine. Is this so?
Take a look at the structure, you can easily work it out for such a small molecule.
Lets start with the really obvious ones:
You then have to recognise that in a skeletal formula, the carbons are simply represented by 'corners' (i.e. where two lines meet):
Finally, you need to work out how many hydrogens are present. Hydrogens attached to heteroatoms (Oxygen and nitrogen) are shown, hydrogens attached to carbon are not, and hence you have to rely on your chemistry knowledge to work out how many should be attached to each carbon:
In short, yes, the formula is right for dopamine.