Convert any CSS color to HEX, RGB, HSL, HWB, CMYK and OKLCH and check its WCAG contrast.
WCAG 2 level AA requires at least 4.5:1 for normal text and 3:1 for large text (24px, or 18.66px bold). Level AAA requires 7:1 for normal text and 4.5:1 for large text.
OKLCH is a perceptually uniform color space: equal changes in lightness or chroma look like equal changes to the eye. That makes it great for building color palettes, and modern browsers support it in CSS via oklch().
8-digit HEX, rgba() and hsla() keep their alpha value in every format that supports it. For contrast checks the color is first blended over the white or black background.
No. It is the standard mathematical conversion from RGB. Exact print colors depend on the printer, paper and ICC color profile, so use your design software for final print values.