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 page 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.

spectrum of brand red shades with examples of brand red being used

Red orange

For danger or error states, use red orange.

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 Beta

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 tile elements which apply a surface
Examples of how Surface is theming child elements within a Card element

Layering Beta

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.

Light background with alternating stacking contexts Dark background with alternating stacking contexts

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 and components
  3. Secondary - use for small text like captions
  4. Custom - use a variety of colors to advertise a campaign or bespoke experience

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 - can be a variety of colors depending on where they are used

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 components
  3. Red - use sparingly for primary calls to action or linked text in certain components
  4. Gray - use for secondary text, the disabled state, or linked text in certain components
  5. Black and white - use for linked text in navigation components or linked header text in navigation menus
  6. Other colors - use for linked text in components 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.

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

Resources

Best practices

Follow these guidelines and best practices as best you can.

Custom themes

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

Blue submit button, blue default call to action, black tooltip, and blue switch

Place foreground elements on background colors with enough contrast.

Magenta button, brand red default call to action, green tooltip, and dark orange switch

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

Sufficient contrast

Using colors with the same hue, saturation, and lightness is acceptable, but do not put them near or on top of each other as doing so will cause vibration resulting in a poor user experience. If you have a large section of color or an image background with low contrast, consider using elements and patterns from the desaturated theme instead.

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.