Palette · 20
Graphite
Colours
-
- RGB
- 18, 19, 22
- HSL
- 225°, 10%, 8%
- Role
- base
-
- RGB
- 31, 33, 38
- HSL
- 223°, 10%, 14%
- Role
- soft
-
- RGB
- 51, 54, 61
- HSL
- 222°, 9%, 22%
- Role
- accent
-
- RGB
- 107, 112, 121
- HSL
- 219°, 6%, 45%
- Role
- deep
-
- RGB
- 232, 233, 236
- HSL
- 225°, 10%, 92%
- Role
- ink
Preview
Shopy 101
This is a heading
Body text reads in this colour. Buttons and links use the accent.
Button LinkContrast
Text readability for every colour pair (WCAG 2.1). AA requires at least 4.5:1 for normal text.
| Aa | #121316 / #E8E9EC | 15.30:1 | AAA |
| Aa | #1F2126 / #E8E9EC | 13.27:1 | AAA |
| Aa | #33363D / #E8E9EC | 9.97:1 | AAA |
| Aa | #6B7079 / #E8E9EC | 4.10:1 | AA large |
| Aa | #121316 / #6B7079 | 3.73:1 | AA large |
| Aa | #1F2126 / #6B7079 | 3.24:1 | AA large |
Take it as code
:root {
--grafit-1: #121316;
--grafit-2: #1F2126;
--grafit-3: #33363D;
--grafit-4: #6B7079;
--grafit-5: #E8E9EC;
}$grafit-1: #121316;
$grafit-2: #1F2126;
$grafit-3: #33363D;
$grafit-4: #6B7079;
$grafit-5: #E8E9EC;// tailwind.config.js → theme.extend.colors
"grafit": {
"100": "#121316",
"200": "#1F2126",
"300": "#33363D",
"400": "#6B7079",
"500": "#E8E9EC",
}{
"name": "Graphite",
"colors": [
"#121316",
"#1F2126",
"#33363D",
"#6B7079",
"#E8E9EC"
]
}