Skip to content

Color Picker

Pick a color and convert it between HEX, RGB, HSL, and OKLCH, with a WCAG contrast ratio checker.

Eyedropper

Common colors

Color code conversion

HEX

#ffffff

RGB

rgb(255, 255, 255)

HSL

hsl(0, 0%, 100%)

OKLCH

oklch(1 0 89.88)

WCAG contrast checker

Foreground (selected color)

#ffffff

Background

#ffffff

Contrast ratio

1.00 : 1
AA normal text (4.5:1): FailAA large text (3:1): FailAAA normal text (7:1): FailAAA large text (4.5:1): Fail

This is sample normal text. AA requires a contrast ratio of at least 4.5:1, and AAA at least 7:1.

Sample large text

More tools in Color