HEX · RGB · HSL · HARMONIES · CONTRAST · CSS EXPORT

Color Picker Pro

Pick any color and instantly get every format — HEX, RGB, HSL, HSV, CMYK. Generate color harmonies, tints, shades, and a WCAG accessibility contrast report. Export CSS variables. All in your browser.

COLOR PICKER
CLICK TO PICK
ALL FORMATS
COLOR HARMONIES
TINTS, SHADES & TONES
CONTRAST & ACCESSIBILITY
CSS EXPORT

How to use color formats and contrast checks

Color values can be represented in several formats. A picker helps you convert between them and test selected foreground/background pairs, but a single contrast result is not a complete accessibility review.

Step by step: how to use the tool

  1. Pick a color with the picker, or type a HEX, RGB or HSL value.
  2. Copy the format you need in HEX, RGB or HSL.
  3. Use the harmony buttons to see complementary, triadic and other matching colors, plus tints and shades.
  4. Set a background color and read the contrast ratio and the AA and AAA results for text.
  5. Adjust the colors until the contrast meets the level you need, usually at least 4.5 to 1 for normal text.

HEX, RGB, and HSL

HEX values commonly use six hexadecimal digits for red, green, and blue channels, such as #336699. RGB expresses the same channels as numbers, while HSL describes hue, saturation, and lightness in a different coordinate system. These formats represent screen colors; printed ink and different displays can reproduce them differently.

How to use the picker

Choose a color or enter a supported value, then copy the format required by your CSS or design software. Use harmonies as starting points rather than fixed design rules. Check a color in context with the actual font size, weight, background, hover state, disabled state, and focus indicator used in the interface.

Understanding contrast

For WCAG contrast checks, normal text generally needs a contrast ratio of at least 4.5:1 at Level AA; large text generally needs at least 3:1. These thresholds do not mean that a design is automatically accessible. Images of text, focus visibility, color-only instructions, charts, and interactive states need separate review.

Practical design workflow

Test your palette on the actual page, not only against a blank white preview. Check dark mode, high zoom, mobile screens, and common color-vision differences. Keep text readable and do not use color alone to communicate success, error, or category; add labels, icons, patterns, or other cues where needed.

Frequently asked questions

Are HEX and RGB different colors?
They can describe the same red, green, and blue values in different notation. Small rounding or conversion differences may appear in some formats.
Does a passing contrast score guarantee accessibility?
No. It checks a particular color pair and does not evaluate the whole interface or every WCAG requirement.
Why does a color look different in print?
Displays emit light while printers use inks or pigments. Paper, profiles, lighting, and device calibration affect the result.
Why does a color look different on a screen and in print?
Screens mix red, green and blue light, while printers mix cyan, magenta, yellow and black ink, and the printable range is smaller for some bright colors. Screen brightness and calibration also vary. For print work, request a proof or use the printer's color profile.

Contrast ratios in practice

Web accessibility guidelines (WCAG) set minimum contrast between text and background: 4.5:1 for normal text (level AA), 3:1 for large text, and 7:1 for the stricter AAA level.

Text on backgroundContrast ratioVerdict
White on near-black (#05030d)20.5 : 1Passes AAA
Gold #FBBF24 on black12.6 : 1Passes AAA
Grey #777777 on white4.5 : 1 (just under: 4.48)Fails AA for small text

Format basics

HEX #FF0000 is the same color as rgb(255, 0, 0) and hsl(0, 100%, 50%). HEX and RGB describe the amounts of red, green and blue light, while HSL describes hue, saturation and lightness, which is often easier for making lighter or darker variants.

Design habits

Sources and standards

Related tools

Browse all 16 tools

Last reviewed: October 17, 2026. Informational reference only; see the About page for our methods and limits.