We present the novel method for automatic illumination compensation of color photos. Firstly, we suppose the photo has its own reference luminance level to get the characteristic luminance of each pixel by subtracting reference luminance level from original luminance. Next, the calibrated luminance is obtained by adjusting the characteristic luminance according to expected target luminance. The straight lines or oblique lines in photo are causing the HALO artifact. Therefore, the proposed method also reduces the HALO artifact using applying alpha blending original luminance and reference luminance level. Finally, we also provide the different resulted photos that are based on human perception by applying various proportions of alpha blending original image and fix layer.