An in-gamut red
Input
oklch(62.8% 0.2577 29.23)Output
#ff0000This is pure sRGB red expressed in OKLCH, so the conversion is exact.
OKLCH is the better space to design in, but hex is what older browsers understand. This conversion exists mainly to produce fallback values: declare the hex first, then the OKLCH, and browsers that support the newer syntax will use it.
The conversion is exact for any OKLCH colour that fits inside sRGB. Outside it, there is no exact answer, and the tool says so rather than silently producing a duller colour.
Each example below is executed against this tool by the test suite, so what you see is what the tool actually produces.
Input
oklch(62.8% 0.2577 29.23)Output
#ff0000This is pure sRGB red expressed in OKLCH, so the conversion is exact.
The details that decide whether a conversion is correct, and where information can be lost without any error being raised.