You could use the staticmethod get_params to apply the same “random” transformation via:
img = transforms.ToPILImage()(torch.randn(3, 224, 224))

color_jitter = transforms.ColorJitter(brightness=0.1, contrast=0.1, saturation=0.1, hue=0.1)
transform = transforms.ColorJitter.get_params(
    color_jitter.brightness, color_jitter.contrast, color_jitter.saturation,
    color_jitter.hue)

img_trans1 = transform(img)
img_trans2 = transform(img)

print((np.array(img_trans1) == np.array(img_trans2)).all())
> True

or alternatively use the funtional API directly via:
import torchvision.transforms.functional as TF

img = TF.adjust_brightness(img, brightness_factor)
img = TF.adjust_contrast(img, contrast_factor)
img = TF.adjust_saturation(img, saturation_factor)
img = TF.adjust_hue(img, hue_factor)