Turn an OKLCH colour into a hex code for tools that do not speak modern colour syntax yet.
You design the palette in OKLCH because it behaves, then discover the thing you are exporting to only takes hex. This is that step. Be aware it is lossy in one direction: OKLCH can describe colours no sRGB screen can show, and those get clamped to the nearest channel values rather than refused.
a = C · cos(H), b = C · sin(H) → OKLab → CIE XYZ (D65) → linear sRGB → gamma encode → hex
Chroma and hue are first turned back into the two OKLab axes, then the fixed matrices carry the colour to XYZ and on to linear-light sRGB. The gamma transfer function re-encodes each channel before it is rounded to a byte and written in hex.
A number that disagrees with its source is a defect, not a rounding preference.
What did you enter, what did the tool show, and what did you expect instead? If you have a source that disagrees with ours, a link to it is the most useful thing you can send.
Opens your mail app with the page and tool already filled in.
Convert a hex colour to OKLCH, the perceptual colour space where equal changes in lightness actually look equal.
Turn hue, saturation and lightness into a hex code — useful when a colour was picked by feel and now has to go into a stylesheet or a design file.
Turn red, green and blue channel values into the hex code stylesheets expect, with alpha where you need it.