Disclosed is a lighting device (1) including a lens (200, 300) comprising an annular collimating structure (100) having a central axis of symmetry (202), said structure comprising a light exit surface (105) and an intermediate region (120) in between an inner region (110) proximal to said axis and an outer region (130) distal to said axis, wherein one of the inner region and outer region consists of a single prism (112) extending from the light exit surface by a first height (h1) and the other of the inner region and outer region comprises a plurality of prisms (132) extending from the light exit surface by a maximum second height (h2), wherein the first height is at least the maximum second height and the intermediate region has an intermediate region surface (120′) separated from the light exit surface by a maximum further height (h3) that is smaller than the first height; and a plurality of solid state lighting elements (20) arranged in a circular pattern on a carrier surface (25) such that the solid state lighting elements are aligned with and facing the intermediate region surface (120′); and wherein the annular collimating structure is made of a material having a refractive index such that the first region is a refractive region and the single prism and the plurality of prisms each reflect light emitted by the solid state lighting elements towards the light exit surface. A luminaire including such a lighting device is also disclosed.