The ideal body weight for 171 cm height is between:
54.1 kg - 73.07 kg (metric)
119.26 lb - 161.1 lb (imperial)
Reference: BMI classification
Your body weight is in the normal range if your BMI is between 18.50 and 24.99. Using these values and your height in the BMI formula, we can find the lower and upper range of body weight that is considered healthy.
BMI = Weight/ (Height * Height), where weight is in kg and height in meters.
Since BMI value is independent of sex, the following weight range is applicable for both adult male and female who are 171 cm tall.
Lower bound: 18.5×1.71×1.71 = 54.1 kg
Upper bound: 24.99×1.71×1.71 = 73.07 kg