Hydrogen cyanide is weakly acidic with a pKa of 9.2. It partially ionizes in water solution to give the cyanide anion, CN–. A solution of hydrogen cyanide in water, represented as HCN, is called hydrocyanic acid. The salts of the cyanide anion are known as cyanides.