The properties of X-ray flashes (XRFs) and X-ray rich gamma-ray bursts (XRRs) as compared with classical gamma-ray bursts (C-GRBs) have been widely discussed during the \emph{Swift} era. It has been proposed that XRFs and XRRs are low-energy extensions of the GRB population so that they should follow similar correlations. To further examine this idea, we collect a sample of 303 GRBs detected by \emph{Swift} over the past two decades, all of which have reliable redshifts and spectral parameters. The bursts are classified into XRFs, XRRs, and C-GRBs based on their softness ratio (SR), which is calculated by dividing the 25−50 keV fluence with the 50−100 keV fluence. A strong correlation is found among the isotropic energy Eiso, peak luminosity Lp, and rest frame burst duration T90,rest, i.e., Eiso∝Lp0.88±0.02T90,rest0.58±0.02. Additionally, two tight three-parameter correlations involving SR and the rest-frame peak energy Ep are also derived, i.e. Ep∝Eiso0.20±0.02SR−2.27±0.15 and Ep∝Lp0.17±0.02SR−2.33±0.14. It is interesting to note that XRFs, XRRs, and C-GRBs all follow the above correlations. The implications of these correlations and their potential application in cosmology are discussed.