1. Home
  2. Design tools
  3. Color Picker

Color Picker

Paste any CSS color or pick one visually to get every format, plus tints and shades you can copy straight into your design.

Free, no sign-up. Runs in your browser: nothing is uploaded.

Free workspace included. Docs, spreadsheets, notes and tasks that save on your device. No sign-up.Take a look

How to use Color Picker

  1. Pick a color or paste a value in any format.
  2. Copy the format you need.
  3. Use tints and shades for states and backgrounds.

Features

  • HEX, RGB, HSL, HSV, CMYK, OKLCH
  • Screen eyedropper (in supporting browsers)
  • Tints and shades
  • Contrast against white and black

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the Color Picker is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Guide

HEX, RGB, HSL, OKLCH and CMYK - which color format to use where

The same orange can be written as #FF6600, rgb(255 102 0), hsl(24 100% 50%) or oklch(69.6% 0.204 43.5). Design tools, CSS, brand guidelines and printers each prefer a different notation, so moving a color between them is a daily task. Paste a color in any common format and this converter gives you all the others, plus a matching shade scale and a contrast check.

Converting a color

Type or paste a color into the box, or use the picker. Accepted inputs:

  • HEX: #f60 or #ff6600 (the # is optional)
  • RGB: rgb(255 102 0) or rgb(255, 102, 0)
  • HSL / HSV: hsl(24 100% 50%), hsv(24 100% 100%)
  • OKLCH: oklch(69.6% 0.204 43.5)
  • Names: any CSS color name, such as tomato, teal or rebeccapurple

All six output formats update instantly and can be copied individually.

Which format belongs where

Format What it describes Typical use
HEX Red, green, blue as hex pairs CSS, brand guides, design handoff
RGB Red, green, blue from 0 to 255 CSS, image editors, code
HSL Hue, saturation, lightness Quick manual tweaks in CSS
HSV / HSB Hue, saturation, brightness Color pickers in Photoshop and Figma
OKLCH Perceptual lightness, chroma, hue Modern CSS, design systems, shades
CMYK Cyan, magenta, yellow, black ink A starting point for print

HSL vs OKLCH: HSL is easy to read but not perceptual. Yellow and blue at the same HSL lightness look very different in brightness. OKLCH fixes that, so equal lightness values actually look equally light, which is why newer design systems build their palettes in it.

Tints and shades

The 50–950 scale works like the palettes in Tailwind CSS: 50 is nearly white, 500 is close to the base, 950 is very dark. It’s built in OKLCH, so the hue stays consistent and the steps look even. Typical uses:

  • 50–100: page and card backgrounds
  • 200–300: borders and disabled states
  • 500–600: buttons and links
  • 700–900: text and hover states

Click any chip to load that color and convert it, for example to get its RGB value.

Contrast at a glance

The contrast panel shows your color as text on white and on black, with the WCAG ratio and level:

  • AAA: 7:1 or more
  • AA: 4.5:1 or more, the usual minimum for body text
  • AA large only: 3:1 or more, acceptable for large or bold headings
  • Fails: below 3:1

For example, #FF6600 manages only 2.94:1 on white, so orange text on white needs to be darker. For any text and background pair, and a suggested fix, use the Contrast Checker.

A word about CMYK

Screens mix light (RGB); printers mix ink (CMYK). The CMYK values here are a straightforward mathematical conversion without a color profile, so they’re a reasonable estimate, not a print specification. Bright screen colors such as vivid orange or electric blue often can’t be printed exactly. For brand printing, use your printer’s profile or a Pantone guide.

Copy as a CSS variable

Copy as CSS variable gives --color: #ff6600;. Paste it into :root { } and rename it (for example --brand) to reuse the color across a stylesheet.

Who converts colors

  • Web developers move colors from design files into CSS in hex, rgb() or oklch().
  • Designers match brand colors across Figma, Photoshop, PowerPoint and Canva, which ask for different formats.
  • Marketers give printers and agencies brand colors in the format they ask for.
  • Students learn how color models relate in design and computing classes.

A complete example: a brand color for a website

A logo uses the color #2563EB:

  1. Paste it to get rgb(37 99 235), HSL and OKLCH.
  2. Use the 50–950 scale: 50 or 100 for light backgrounds, 600 for buttons, 800 for hover states.
  3. Check the contrast panel: #2563EB reaches about 5.2:1 on white, enough for normal text links.
  4. Copy the CSS variable and define your palette in one place in the stylesheet.

Tips

  • Keep one source of truth, such as a brand guide, so colors don’t drift between tools.
  • Ask printers for their CMYK values or profile instead of relying on screen conversions.

Checked against the current version of the Color Picker on .

Frequently asked questions

How do I convert HEX to RGB?

Split the six digits into three pairs and convert each pair from hexadecimal to decimal. #FF6600 is FF = 255, 66 = 102, 00 = 0, so rgb(255 102 0). Paste the hex code here and every format appears at once.

Is the CMYK value accurate for printing?

It's a mathematical estimate from the screen color, useful as a starting point. Real print colors depend on the printer, paper and color profile, so ask your printer for their profile or use the CMYK values from your design software's print settings.

What is OKLCH and why use it?

OKLCH describes a color by lightness, chroma (colorfulness) and hue, and it is designed so that equal steps in lightness look equal to the eye. That makes it reliable for generating shades and for adjusting colors without hues shifting. Modern browsers support oklch() in CSS.

Which gray is the lightest that passes on white?

For normal-size text, #767676 reaches 4.54:1 on white, just above the 4.5:1 AA minimum. One step lighter, #777777, fails at 4.48:1.

What is OKLCH?

A modern CSS color space in which lightness matches human perception, which makes even palettes and accessible contrast easier.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.