Brand
Colour
Ink on paper, and the greys between. Colour on a Kanso Labs page comes only from what a product brings. Each colour names the kanso-ui token kansolabs.org sets it on; the data is colors/palette.json.
Core
Ink
#1a1a1a · rgb(26, 26, 26)The logo and every word on a light ground. The brand's one colour.
--kui-color-on-background
--kui-color-on-primary-container
--kui-color-on-surface
--kui-color-primary
Paper
#fafafa · rgb(250, 250, 250)The ground in the light scheme. A touch off white, so white cards lift from it.
--kui-color-background
--kui-color-surface
White
#ffffff · rgb(255, 255, 255)Cards and icon tiles on paper, and the reversed logo.
--kui-color-on-primary
--kui-color-surface-container-lowest
Ink, dark
#ececec · rgb(236, 236, 236)Ink in the dark scheme: words on night. The reversed logo stays white.
--kui-color-on-background
--kui-color-on-surface
--kui-color-primary
Night
#121212 · rgb(18, 18, 18)The ground in the dark scheme.
--kui-color-background
--kui-color-surface
Black
#000000 · rgb(0, 0, 0)The one-colour logo, for print and single-colour processes. Not a text colour on screen: use ink.
Supporting greys
Muted
#5c5c5c · rgb(92, 92, 92)Secondary words: captions, metadata, the lede. Light scheme.
--kui-color-on-surface-variant
Muted, dark
#b3b3b3 · rgb(179, 179, 179)Secondary words, dark scheme.
--kui-color-on-surface-variant
Outline
#8a8a8a · rgb(138, 138, 138)The border of a control, which needs 3:1. Light scheme.
--kui-color-outline
Outline, dark
#8c8c8c · rgb(140, 140, 140)The border of a control, dark scheme.
--kui-color-outline
Divider
#dcdcdc · rgb(220, 220, 220)Hairlines and dividers that carry no meaning, light scheme.
--kui-color-outline-variant
Divider, dark
#3a3a3a · rgb(58, 58, 58)Hairlines and dividers that carry no meaning, dark scheme.
--kui-color-outline-variant
Container
#e9e9e9 · rgb(233, 233, 233)Filled containers and selected states, light scheme.
--kui-color-primary-container
--kui-color-surface-container-high
Container, dark
#2b2b2b · rgb(43, 43, 43)Filled containers and selected states, dark scheme.
--kui-color-primary-container
--kui-color-surface-variant
Contrast
Every pairing the brand uses, against WCAG 2.2 AA: 4.5:1 for text, 3:1 for large text, a control’s border and the logo. The build fails if one falls short.
| Sample | Pair | Used for | Ratio | AA |
|---|---|---|---|---|
| Aa | #1a1a1a on #fafafa | Text and the logo on paper | 16.67:1 | Passes 4.5:1 |
| Aa | #1a1a1a on #ffffff | Text on cards and icon tiles | 17.40:1 | Passes 4.5:1 |
| Aa | #1a1a1a on #e9e9e9 | Text on a filled container | 14.34:1 | Passes 4.5:1 |
| Aa | #5c5c5c on #fafafa | Secondary text on paper | 6.41:1 | Passes 4.5:1 |
| Aa | #5c5c5c on #ffffff | Secondary text on cards | 6.69:1 | Passes 4.5:1 |
#8a8a8a on #fafafa | A control’s border on paper | 3.31:1 | Passes 3:1 | |
| Aa | #ffffff on #1a1a1a | Text and the reversed logo on ink | 17.40:1 | Passes 4.5:1 |
| Aa | #ececec on #121212 | Text on night | 15.86:1 | Passes 4.5:1 |
#ffffff on #121212 | The reversed logo on night | 18.73:1 | Passes 3:1 | |
| Aa | #b3b3b3 on #121212 | Secondary text on night | 8.93:1 | Passes 4.5:1 |
#8c8c8c on #121212 | A control’s border on night | 5.57:1 | Passes 3:1 | |
| Aa | #ececec on #2b2b2b | Text on a filled container, dark | 11.99:1 | Passes 4.5:1 |
#000000 on #ffffff | The one-colour logo in print | 21.00:1 | Passes 3:1 |