Skip to main content

Colors

Colors play an important role in text readability, element identification and interactions. They are also responsible for making a connection with our brand.

Text readability​

All interface texts must meet minimum contrast criteria. WCAG requires an AA level of contrast, equivalent to 4.5:1 between regular and background text, and 3:1 for larger text.

Primary colors​

The primary colors are the colors that predominate in the elements, bringing greater prominence on the screens.

TokenRGBA

Neutral colors​

Neutral colors are used in elements that do not need to be highlighted.

TokenRGBA

Functional colors​

They are used as visual support to communicate and deliver better and more meaningful feedback.

Danger​

The danger functional color should be used in critical situations that require your full attention, such as data that can be deleted, system exit, disconnection, loss of information, among others.

TokenRGBA

Success​

The success functional color should be used in positive and correct feedback and actions.

TokenRGBA

Warning​

The warning functional color should be used in attention situations, however the action result is not critical. In this case, there is no loss of information or the action can be reversed.

TokenRGBA

Highlight​

The highlight functional color should be used for supporting information, elements or actions such as help and support. It must not be used for any other type of feedback, with the exception of the Avatar component.

TokenRGBA

IA​

As cores funcionais de IA devem ser usadas exclusivamente para sinalizar recursos e ações baseados em Inteligência Artificial. Elas formam gradientes de superfície e borda e estão disponíveis no tema lina, modo light.

TokenRGBA

Support colors​

Support colors should be used in charts, legends, and data visualization.

TokenRGBA

Tokens name​

Not all color palettes have the same amount of tokens. The variations depend on the intended applications for each color. Avoid using different colors for an element's default and hover state.

NamingDescription
inverse and on-colorColors with greater contrast for applications in icons or texts on dark or colored backgrounds.
interactiveNeutral colors, with higher contrast for interactive elements
high-emphasisColor tone for more prominent elements
low-emphasisColor tone for less prominent elements
surfaceFill colors for elements above the page background (except icons, text and borders)

References​

Feedback​

To report a problem, request new icons, request new component use cases, ask questions, share suggestions, or report bugs, get in touch through our Slack channel #tangram-design-system.