How rich is Hong Kong?

I frequently heard that Hong Kong is rick. What is the GDP of Hong Kong compared to China?

To give you some brief idea, check the GDP comparison of China and Hong Kong in the last 50 years:

https://www.google.com.hk/publicdata/explore?ds=d5bncppjof8f9_&ctype=l&strail=false&bcs=d&nselm=h&met_y=ny_gdp_mktp_cd&scale_y=lin&ind_y=false&rdim=region&idim=country:HKG:CHN&ifdim=region&hl=en&dl=en&ind=false&xMax=-37.97530999999992&xMin=-15.475309999999922&yMax=-54.31054006950858&yMin=58.86452725590864&mapType=t&icfg&iconSize=0.5