Spot code to web tokens

Pantone to HEX

Use Pantone to HEX to look up a PMS reference and get its approximate web color. Copy HEX, rgb(), hsl(), or a CSS variable, then compare white and black text against that background.

185 C

Crimson Red

Same series

WCAG contrast

White text
White text
Black text
Black text

Black text is #000000. AA and AAA here are for normal text, 4.5:1 and 7:1.

Turn a reference into a web token

Enter a number or name in PMS code or name and select the intended result. Keep the C or U suffix with your reference: the coated and uncoated entries have different screen approximations. A search result is only useful if it is the entry your specification actually names.

For a blue example, select 286 C. The current local entry gives #0033A0 and rgb(0, 51, 160). The equivalent HSL representation is approximately hsl(221, 100%, 31%); rounding its components can produce a slightly different RGB value when converted back.

For a named-color example, search Reflex Blue and select Reflex Blue C. Its local entry gives #001489 and rgb(0, 20, 137). A name search is useful when your reference is written as words instead of a number.

Use Copy CSS for the custom property, or Copy web values for the displayed formats. A declaration such as --pms-286-c: #0033A0; stores a reusable value; apply it with background-color: var(--pms-286-c); in your stylesheet. The declaration alone does not change an element's appearance.

Inspect the white and black text samples before choosing foreground text. Contrast belongs to a color pair, so changing the background, adding transparency, or placing text over an image requires another check. Keep the actual foreground color from your design in mind rather than relying on how bright the swatch looks.

286 C lookup showing its approximate HEX, RGB, HSL, and CSS custom property.
White and black text contrast samples on the screen approximation of Reflex Blue C.

Which web format should I copy?

Choose the notation your stylesheet uses; changing notation does not make the color more faithful to ink.

OutputPractical use
HEX or rgb()Set a CSS color value
hsl()Read hue, saturation, and lightness components
CSS variableReuse the same named value across rules

What this lookup cannot certify

HEX and CMYK figures are approximate screen values for matching, not official Pantone data. The contrast result concerns the displayed color pair. It is not a full accessibility review of a page, and the screen preview is not a print proof.

Questions about web equivalents

How do I convert PMS to HEX?

Search the number or name, choose the correct entry, and copy its web value. Keep the original PMS reference in your brand notes.

Does a name search find every color?

Only entries available in this tool can appear. Check spelling and the suffix if the intended reference is absent; do not substitute a similarly named result without review.

Can I start with a web value instead?

Use HEX to Pantone for a code or RGB to Pantone for decimal channels.

How do I prepare the print version?

For a known solid, use Pantone to CMYK to inspect the process estimate. If the starting artwork already has ink percentages, use CMYK to Pantone.

See also

Start from a webpage next time

See the extension to match a screen color while browsing. For the other input types, return to Pantone Color Finder.

Updated December 2, 2026.