RingUI 7.0 Help

Color

RingUI provides a variety of colors, each of which has its own areas of application. The correct use of color enhances usability and creates a coherent experience.

List of Colors

RingUI colors are divided into four application areas: Text, Icons, Components, and Background. It is crucial that you use these colors exactly as specified.

Text Colors

Color text main

Text/Main
#1F2326

• Regular text
• Titles

Color text secondary

Text/Secondary
#737577

• Secondary text
• Hints

Color text placeholder

Text/Placeholder&Disabled
#999999

• Placeholder text
• Disabled text

Color text action

Text/Action
#0080E5

• Text buttons

Color text main action

Text/Main Action
#FFFFFF

• Text on primary buttons
• Titles on messages

Color text link

Text/Link
#0F5B99

Links
• Blue variant of labels

Color text hovered

Text/Hovered
#FF008C

• Hovered state of links, text buttons,
   and tabs in tab bars

Color text error

Text/Error
#C22731

• Error -, failure -, and critical text
• Destructive action buttons

Color text warning

Text/Warning
#CC8B00

• Warning text

Color text success

Text/Success
#C22731

• Text related to success -,
   confirmation -, and availability

Icon Colors

Color icon standard

Icon/Standard                  
#B8D1E5

• Regular icon buttons

Color icon main

Icon/Main
#0080E5

• Main icon buttons

Color icon hovered

Icon/Hovered
#FF008C

• Hovered state of icon buttons

Color icon supportive

Icon/Supportive
#999999

• Non-clickable supportive icons  

Color icon disabled

Icon/Disabled
#D4D4D4

• Disabled icon buttons

Color icon error

Icon/Error
#DB5860

• Icons representing error -,
   failure, and critical content

Color icon warning

Icon/Warning
#EDA200

• Icons representing warning
   content

Color icon success

Icon/Success
#59A869

• Icons representing success -,
   confirmation -, and availability

Component Colors

Color component main

Component/Main
#008EFF

• Main color for buttons,
   radio buttons, etc.

Color component main hover

Component/Main Hover
#007EE5

• Hovered state for buttons,
   radio buttons, etc.

Color component border

Component/Border
#C5D1DB

• Border of buttons, text fields, etc.

Color component border error

Component/Border Error
#DB5860

• Border of select field, text fields,
   etc. in error state

Color component border hover

Component/Border Hover
#80C6FF

• Border of select field, text fields,
   etc. in hover state

Color component disabled

Component/Disabled
#D4D4D4

• Standard border color for
   disabled components

Color component unselected disabled

Component/Unselected Disabled
#E8E8E8

• Border color for disabled and
   unselected checkboxes, radio buttons,
   and switchers

Color component divider

Component/Divider
#DFE5EB

• Divider lines
• Border of dialogs and tooltips

Background Colors

Color background main

Background/Main
#FFFFFF

• Basic Background

Color background sidebar

Background/Sidebar
#F7F9FA

Sidebar background

Color background hover

Background/Hover
#EBF6FF

• Background of hovered items in lists

Color background dropdown hover

Background/Dropdown Hover
#D4EDFF

• Background of hovered items in
   drop-down lists

Color background tag

Background/Tag
#E6ECF2

• Background of labels

Color background tag hovered

Background/Tag Hovered
#D3DAE0

• Background of labels in hovered state

Color background error

Background/Error
#FFD5CB

• Background for erroneous -,
   failed, and critical content

Color background warning

Background/Warning
#FAECCD

• Background for warning content

Color background success

Background/Success
#D8F0D8

• Background for successful -,
   confirmed -, and available content

Color background dark

Background/Dark
#111314

• Background for dark header bars
• Background for messages

Color background disabled

Background/Disabled
#F5F5F5

• Background for disabled components

Dark Theme

For each color in Ring UI, there is a corresponding dark theme color. When setting your UI to dark theme, all colors will be adjusted automatically. Usually, there should be no need to adapt the colors for the dark theme. However, you should still check if everything is legible and understandable.

You can find all dark theme colors in our Figma library or in our React library.

Best Practice

Minimum Contrast Requirements for Text

The minimum contrast requirement for text in RingUI is 4.0:1. To check if this is given in your design, you can use a web app (WebAim Contrast Checker) or install a plugin to Figma (Figma contrast plugin) .

Following this requirement ensures that the user can easily read the text, even if they have a minor vision loss, operate on screens with low contrast ratio, or use their laptop in bright lighting conditions.

Exceptions for Minimum Contrast Requirements

You don’t have to meet the minimum contrast requirement if the text is incidental or decorative and doesn’t serve any essential purpose. However, it might also be a good idea to omit elements in your interface that are incidental or decorative altogether.

Another case where you don’t have to meet the minimum requirements is text on disabled components. As long as a component is disabled it shouldn't serve an essential purpose.

Further Guidelines on Color

Always go for the existing colors before creating any new ones for your design. This ensures a consistent look of all RingUI applications.

Never use color as your only way of communication. Especially for color-blind people, this leads to major problems. If you use color to convey information, you need an extra cue, such as text or icons (WCAG, Use of Color).

Pay attention when using red, yellow, and green. These colors have established meanings and, in general, shouldn’t be used in any other way.

  • Red: critical (error, failure, risk)

  • Yellow: warning (attention or action required)

  • Green: success (confirmation, availability)

It can cause problems when you use these colors otherwise. For example, if you use red in your interface for non-critical components, an actual critical component colored in red won’t grab as much attention anymore. (Interaction-Design, Understand Color Symbolism)

Use colors consistently. If you connect some color with a specific meaning, make sure to use this color for this meaning throughout the whole application.

If you can, test your colors in different lighting conditions and on different screens.

Last modified: 16 March 2023