Help
Pika picks colours from anywhere on your screen and checks how readable they are together. Here’s how it works.
Basics
Colour contrast is the difference in lightness between text and whatever’s behind it. With too little, words blur into their background. That’s a real problem for people with low vision or colour blindness, and it catches everyone else too, like reading a phone in the sun or a laptop turned down low.
- Foreground and background
- The foreground is text or an icon; the background is the surface behind it. Press X to swap them.
- Why check contrast
- Low-contrast text is hard to read, especially with low vision, colour blindness or glare.
- WCAG and APCA
- WCAG 2 gives a ratio (AA needs 4.5:1 for text). APCA gives an Lc value that accounts for size and weight, but isn’t a standard yet.
- Ways to pick a colour
- Basic uses the macOS sampler. Pro adds a live loupe and needs Screen Recording. ⌘S opens the macOS colour panel.
- Editing values
- Click a value to type, drag or two-finger scroll to scrub, and press ↑ or ↓ to step. ⌘Z undoes.
- Colour spaces
- sRGB matches CSS, Figma and most design tools, and is the default. Display P3 covers the more vivid colours of recent Macs. Contrast always uses sRGB.
| Learn about WCAG contrast | w3.org/…/contrast-minimum |
| Learn about APCA | git.apcacontrast.com/… |
Keyboard Shortcuts
The View menu in the toolbar shows or hides Contrast, Palettes and Text Preview, and its keys (C, H and P) work while it’s open. Most shortcuts need Pika in front. Show/hide Pika and Pick pair (⌥⌘D) work from any app; set them in Settings → Global Shortcut.
Pick
| Pick foreground colour | ⌘D |
| Pick background colour | ⇧⌘D |
| Pick foreground and background | ⌥⌘D |
Copy and Paste
| Copy foreground colour | ⌘C |
| Copy background colour | ⇧⌘C |
| Paste foreground colour | ⌘V |
| Paste background colour | ⇧⌘V |
System Picker
| Open system colour picker (foreground) | ⌘S |
| Open system colour picker (background) | ⇧⌘S |
Change Format
| Hex | ⌘1 |
| RGB | ⌘2 |
| HSB | ⌘3 |
| HSL | ⌘4 |
| LAB | ⌘5 |
| OpenGL | ⌘6 |
| OKLCH | ⌘7 |
| Display P3 | ⌘8 |
Actions
| Swap colours | X |
| Toggle palettes | H |
| Toggle contrast | C |
| Toggle text preview | P |
| Undo | ⌘Z |
| Redo | ⇧⌘Z |
| Settings | ⌘, |
| Quit Pika | ⌘Q |
URL Triggers
Automate Pika from other apps using the pika:// URL scheme. You can also append a format to pick or copy actions, e.g. pika://pick/foreground/hex.
Pick
| Pick foreground colour | pika://pick/foreground |
| Pick background colour | pika://pick/background |
| Pick foreground and background | pika://pick/contrast |
| Pick foreground in a specific format | pika://pick/foreground/<format> |
| Pick background in a specific format | pika://pick/background/<format> |
System Picker
| Open system colour picker (foreground) | pika://system/foreground |
| Open system colour picker (background) | pika://system/background |
Copy
| Copy foreground colour | pika://copy/foreground |
| Copy background colour | pika://copy/background |
| Copy foreground in a specific format | pika://copy/foreground/<format> |
| Copy background in a specific format | pika://copy/background/<format> |
| Copy all colours as text | pika://copy/text |
| Copy all colours as JSON | pika://copy/json |
Change Format
| Set format to Hex | pika://format/hex |
| Set format to RGB | pika://format/rgb |
| Set format to HSB | pika://format/hsb |
| Set format to HSL | pika://format/hsl |
| Set format to LAB | pika://format/lab |
| Set format to OpenGL | pika://format/opengl |
| Set format to OKLCH | pika://format/oklch |
| Set format to Display P3 | pika://format/p3 |
Actions
| Swap foreground and background | pika://swap |
| Undo | pika://undo |
| Redo | pika://redo |
Compliance
| Show compliance | pika://compliance/show |
| Hide compliance | pika://compliance/hide |
| Toggle compliance | pika://compliance/toggle |
Preview
| Show colour preview | pika://preview/show |
| Hide colour preview | pika://preview/hide |
| Toggle colour preview | pika://preview/toggle |
Set Colour
| Set foreground colour | pika://set/foreground/<hex> |
| Set background colour | pika://set/background/<hex> |
History
| Show the history drawer | pika://history/show |
| Hide the history drawer | pika://history/hide |
| Toggle the history drawer | pika://history/toggle |
Window
| Show Pika (the window, or the popover in popover mode) | pika://window/show |
| Open the About window | pika://window/about |
| Open the Help window | pika://window/help |
| Open the Settings window | pika://window/settings |
| Open the Splash window | pika://window/splash |
| Open the Check Color window | pika://window/check |
| Resize window | pika://window/resize/<w>/<h> |
Appearance
| Force light appearance | pika://appearance/light |
| Force dark appearance | pika://appearance/dark |
| Restore system appearance | pika://appearance/system |
Colour Formats
| Format | Example | Shortcut |
|---|---|---|
| Hex | #8F0FD0 | ⌘1 |
| RGB | 143, 15, 208 | ⌘2 |
| HSB | 277°, 93%, 82% | ⌘3 |
| HSL | 277°, 86%, 44% | ⌘4 |
| LAB | 36, 62, −69 | ⌘5 |
| OpenGL | 0.56, 0.06, 0.82 | ⌘6 |
| OKLCH | 0.45, 0.24, 299° | ⌘7 |
| Display P3 | 0.51, 0.12, 0.79 | ⌘8 |
Colour Spaces
Hex, RGB, HSB, HSL and OpenGL values depend on the colour space they’re read in: the same pixel is #ff0000 in sRGB and around #ea3323 in a P3 display’s own profile. Lab and OKLCH describe a colour absolutely, so they read the same in any space. Choose the space from the menu beside the format in the toolbar, or in Settings.
| sRGB | The default. Hex values match CSS, Figma and most design tools. |
| Display P3 | For Display P3 design files and app assets. Browsers read a plain hex as sRGB, so copy in the Display P3 format, color(display-p3 …), for CSS. |
| Match display | The raw values your display shows, in the profile of the display you pick on. Hex values won’t match the web. |
| Others | Adobe RGB and the other spaces macOS offers, for print and video work. |
Colours don’t match?
If a picked value doesn’t match the one in your design file or stylesheet, it’s usually one of these.
| A different colour space | Pika is reading in a different space from the source. Choose Check Color from the colour space menu in the toolbar, or Help → Colors Don’t Match?, then pick the colour and enter the value you expected in any format. Pika shows which space reads it back and offers to switch to it. |
| The source isn’t colour managed | Some apps draw their values straight to the display, and some convert through a profile of their own. Check the app’s colour settings, such as Figma’s file colour profile or Chrome’s chrome://flags/#force-color-profile. |
| Rounding | A colour is rounded to 8 bits on its way to the display, so a value read back can land a step away. The Pro picker reads the screen at higher precision to keep this to a minimum. |
Open Source
Pika is free and open source, built and maintained on GitHub. Contributions, bug reports, and feature requests are always welcome.
| View source and contribute | github.com/superhighfives/pika ↗ |
| Report feedback or issues | github.com/…/issues ↗ |
| Support on the Mac App Store | apps.apple.com/…/pika ↗ |
| Sponsor my work on GitHub | github.com/sponsors/… ↗ |
