Platinum nanoparticles were loaded on CoSn(OH)6 nanocubes via a co-precipitation method. The material (NCs) is shown to be a viable peroxidase mimic that catalyzes the oxidation of 3,3′,5,5′-tetramethylbenzidine (TMB) by hydrogen peroxide (H2O2) to generate oxidized TMB (oxTMB) with absorption at 652 nm. The formation of the blue color can be observed in <30 s. Thus, a visual and colorimetric assay was worked out for H2O2. It has a detection limit as low as 4.4 μM and works in the 5 to 200 μM concentration range. The method was also used to detect dopamine (DA) which is found to inhibit the enzyme mimicking activity of the NCs. Hence, less blue color is formed in its presence. The respective DA assay has a linear response in the 5.0 to 60 μM concentration range and a 0.76 μM detection limit.