Color

OverviewUsageAccessibility

Our color palette

Our color palette was built to be extensive and flexible. Applying color thoughtfully and consistently helps us deliver accessible, cohesive, and recognizable experiences for our users.

Contact us if you have design system questions or visit the Brand standards website if you have brand questions.

Brand red

Red is our primary brand color. Red is also a strong color, so use it as an accent, not to fill large areas.

Examples of brand red being used in logos, illustrations, and text

Red orange

For danger or error states, use red orange.

Examples of red orange used in alert, buttons, tag, and site status

Backgrounds

Canvas

Canvas is the bottom-most infinite container that holds all containers, elements, etc. The default canvas colors for light and dark themes are white and black respectively, but some gray colors can also be used.

For more bespoke websites or interfaces, other colors may be used as long as color contrast and other accessibility requirements are maintained.

Helpful tip

Elements like Card and other containers include more colors and can be placed on top of a canvas.

swatches of the default canvas colors for dark and light theme and examples of custom canvas colors

Surface

Surface is a container background that applies a theme to any child elements. If you need more control over the default theme in specific areas, go to the Surface element page to learn more.

Helpful tip

To learn more about theming, go to the Theming section.

Examples of cards using each surface color
Examples of how Surface is theming child elements within a Card

Layering

Layering is stacking colors to establish hierarchy and separate content. Colors like white and black can stack if there is a gray border visible. Surface or container colors can stack if there is a layer of white or black in between.

Basic text

Color is applied to basic text depending on content, hierarchy, theme, and more. These are general guidelines, not all use cases are represented.

  1. Brand - use sparingly to add a brand accent to text
  2. Primary - use for headings and body text in most layouts, elements, and patterns
  3. Secondary - use for small text like captions
  4. Custom - use a variety of colors to advertise a campaign or bespoke experience
Dark and light theme examples of the four types of semantic colors used by text

Icons

Color is applied to icons depending on category, status, theme, etc. Some icon colors will not change when switching themes. These are general guidelines, not all use cases are represented.

  1. Standard - monochromatic and usually red, black, or white
  2. Technology - always black, gray, red, and white
  3. UI and microns - may be different colors depending on how they are used within an element or pattern
Examples of the icon categories

Interactivity

Color can be used to indicate that something is interactive or selectable. All text links require an underline except in certain rare edge cases.

  1. Blue - a common color used for inline links, buttons, and more
  2. Purple - a common color used for the visited state or linked text in certain elements
  3. Red - use sparingly for primary calls to action or linked text in certain elements
  4. Gray - use for secondary text, the disabled state, or linked text in certain elements
  5. Black and white - use for linked text in navigation elements or linked header text in navigation menus
  6. Other colors - use for linked text in elements with a more broad color palette like Tag

Helpful tip

Most links have underlines for accessibility reasons, but some do not. To learn more about when to add underlines to links, contact the design system team.

Examples of elements using the colors and styles that denote interactivity

Status

Status has its own severity levels, color palettes, and meanings assigned to each.

Helpful tip

In general, when communicating status, red and red orange are considered danger or error state colors. It is not recommended to use those colors anywhere else.

Status name Severity level Status Use case
Info 0 Purple
  • Helpful information before an action
  • Positive
Success 0 Green
  • Success state or an action was successful
  • Positive or healthy
Neutral 0 Gray
  • An action is not available or will have no impact
  • Disabled or neutral
Warning 1 Yellow
  • How to avoid a destructive action or error
  • Negative
Caution 2 Orange
  • Non-destructive action or fixable error
  • Negative
Danger 3 Red orange
  • Destructive action or critical errorr
  • Negative
Alerts, buttons, health index, site status, and tags that use status colors

Resources

Best practices

Follow these guidelines and best practices as best you can.

Custom theming

If you need support for a custom theme including custom design tokens, contact us.

Blue button, blue default call to action, gray badge, black tooltip, blue switch, and blue back to top

Use light or dark theme elements as best you can.

Purple button, teal default call to action, brand red badge, blue tooltip, orange switch, and green back to top

Do not create your own theme or change the colors of elements.

Maintaining contrast

Ensure backgrounds have adequate contrast when other elements are placed on top.

Examples of a blue button against a light gray background and a red CTA against a black background

Place foreground elements on background colors with enough contrast.

Examples of a blue button against a red background and a red CTA against a blue background

Do not place foreground elements on background colors with insufficient contrast.

Foundations

To learn how to use our other foundations in your designs, visit the foundations section.