NCS to HEX Converter: Notation to Web Colors
Convert any NCS notation to a HEX code for CSS, Tailwind, and design tools.
Last updated
NCS colors in CSS and design tools
A brand book lands on your desk with the primary colour given as NCS S 1070-B and nothing else: no hex, no RGB, just the Natural Colour System notation a paint or interior supplier handed the client. Your stylesheet, your Tailwind config, and your Figma library all speak one language for colour, and it is hex. This converter closes that gap. Type the NCS notation, get the hex code, paste it into a custom property. The NCS to RGB converter resolves the same lookup for engines that want an R, G, B triplet; this page is the version for web and interface work, where a six-digit hex is the value that drops straight into code.
Hex is the format a stylesheet actually wants
The conversion here is not doing anything the RGB lookup can't. An NCS code resolves to one stored colour, and hex and RGB are two ways of writing that same colour. What differs is where the value is going. A hex string is the default token in CSS (--brand: #0065bd), in a Tailwind colour object, in a Figma or Sketch style, and in almost every component library's theme file. Writing rgb(0 101 189) works too, but hex is shorter, it is what the design tools export, and it is what a teammate expects to see in a token named blue-600. When the spec is in NCS and the destination is a stylesheet, going straight to hex saves the step of formatting an RGB triplet by hand.
An NCS code reads like a recipe; hex reads like an instruction
Here is the part worth understanding before you convert. An NCS notation is not an index number the way a RAL or Pantone code is; it is a description you can decode by eye. Take S 3050-Y80R. The first two digits are blackness (30%), the next two are chromaticness (50%, how saturated), and the part after the hyphen is hue: Y80R means yellow shifted 80% of the way toward red, so mostly red with a little yellow warmth. Read together, that is a medium, softly saturated, earthy red. Convert it and you get #B6562A. The hex encodes the identical colour, but as three device-channel values (red 182, green 86, blue 42) that tell a screen how to drive its subpixels, not how the colour looks to a person. Neither notation is arbitrary; the difference is that the NCS code carries perceptual meaning and the hex carries device instructions. Hand someone an NCS code and they can picture it. Hand them #B6562A and they have to render it to know.
The hex is an estimate, not the colour
The conversion has exactly one soft step, and being clear about it will save a support ticket. The final move, RGB to hex, is exact: the encoder takes the stored triplet and writes it losslessly, so every NCS notation returns one hex code, the same one every time. The soft step is upstream. NCS colours are defined by physical, measured samples in an atlas (matte painted chips viewed under a standard light), and there is no single official formula that turns those samples into sRGB. The RGB values this tool holds are common approximate renderings of those chips. So the hex you copy is exact for the RGB we store, but that RGB is itself an estimate of a physical surface colour. Two consequences follow: different NCS-to-hex tools will sometimes disagree by a few values, and the colour on your monitor will not match the painted sample under real light. Use the hex for layout, mockups, and interface work; when a physical print or paint has to match, sign it off against an NCS sample, not the screen.
Check contrast before you ship the colour
Because the output is aimed at screens, the tool shows the hex's contrast ratio against white and black the moment you resolve a colour. That is the number WCAG cares about: body text needs a ratio of at least 4.5:1 against its background, large text at least 3:1. A saturated NCS red like S 1080-R (#D51725) lands at about 5.3:1 on white — past the 4.5:1 body-text minimum with the 3:1 large-text bar well covered — but many vivid NCS hues land lower, so check each one rather than assume. If you are pairing an NCS-derived colour against something other than plain white or black, run both values through the colour contrast checker for the exact ratio. For the reverse trip, pulling a hex you already have back into its channels, hex to RGB handles it.
Worked examples
Real conversions this tool produces — enter the inputs to reproduce each result.
An NCS brand blue dropped into a stylesheet
Input
- NCS
- S 1070-B — Blue
Result
- HEX
- #0065BD
- RGB
- 0, 101, 189
S 1070-B resolves to rgb(0, 101, 189), which encodes as #0065BD — paste it straight into a CSS custom property or a Tailwind color token. The hex and the RGB are the same colour written two ways.
A signal red for a UI alert state
Input
- NCS
- S 1080-R — Signal red
Result
- HEX
- #D51725
- RGB
- 213, 23, 37
S 1080-R has almost no blackness and high chromaticness, so it stays vivid on screen at #D51725 — a workable error/destructive colour, though run it through a contrast check before using it for small text.
A readable NCS code that decodes to an earthy accent
Input
- NCS
- S 3050-Y80R — Terracotta
Result
- HEX
- #B6562A
- RGB
- 182, 86, 42
S 3050-Y80R reads straight off the code — 30% blackness, 50% chromaticness, a hue 80% of the way from yellow toward red — a muted earthy red. It renders as #B6562A, but that hex is an sRGB estimate of a physical NCS sample, so treat the screen colour as a close stand-in, not a paint match.
Related content
Was this page helpful?
NCS RGB values are approximate sRGB renderings of physically defined colours, so the HEX is an on-screen estimate. Confirm against a physical NCS sample for print or paint matching. See our methodology and full disclaimer.
Frequently Asked Questions
Can I paste these hex codes straight into CSS or Tailwind?
Yes. The output is a standard six-digit hex like #0065BD, so it drops into a CSS custom property, a Tailwind colour token, or a Figma style with no reformatting. It is the same colour as the RGB triplet, written in the format stylesheets and design tools default to.
Why does the hex differ from another NCS-to-hex tool, or from the physical swatch?
NCS colours are defined by measured physical samples, and there is no official formula that turns them into sRGB. The RGB values here are approximate renderings, so the hex is exact for that RGB but is still an estimate of the real chip. Different tools use slightly different source data, and a screen emits light while a painted sample reflects it, so neither will match perfectly.
Does this cover every NCS colour?
No. The full NCS collection now holds about 2,050 standard colours; this tool holds a curated 46 spanning the hue wheel and the neutral axis, the notations most likely to arrive in a brand or product spec. For a code outside the set, read its RGB from an NCS source and encode it with the RGB to HEX converter.
Should I check contrast before using an NCS colour for text?
Yes, if it will carry text or sit behind it. The tool shows the hex's ratio against white and black on the spot; WCAG asks for at least 4.5:1 for body text and 3:1 for large text. Saturated NCS reds and greens often pass as large headings but fail for small copy, so confirm rather than assume.
Cite or embed this tool
Cite this tool
PrinterTools. (2026). NCS to HEX Converter: Notation to Web Colors [online tool]. https://printertools.net/tools/ncs-to-hexEmbed this tool
Paste this on your site to link readers to the free tool. It renders as:
<a href="https://printertools.net/tools/ncs-to-hex" target="_blank" rel="noopener" style="display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid #e2e8f0;border-radius:8px;background:#ffffff;font-family:system-ui,-apple-system,sans-serif;font-size:14px;line-height:1.3;color:#2563eb;text-decoration:none;">NCS to HEX Converter: Notation to Web Colors — free tool by PrinterTools</a>More Print calculators
Browse all print calculators — Color converters for RGB, HEX, CMYK, HSL, HSV, Pantone, RAL, and NCS — plus DPI, paper size, contrast, and ink estimators.