HD 163151 is discovered to be a new variable as a part of a W UMa syst
em. In this paper we present complete uvby light curves. Additional Cr
awford H-beta and Johnson BV data are also obtained. A detailed photom
etric analysis based on these observations is presented using the WD c
ode. Several tests have been carried out concerning mass ratio and eff
ective temperatures. The best fitting was achieved with q = 0.27 and T
-1 = 6450 K (fixed) and T-2 = 6130 K. Moreover, the light curves show
evidences of spots in one of the components.