PreviewingGo to this paletteOpen in generator
Code
/* Raven Black — colorset.net */
:root {
--color-1: #0F0F0F;
--color-2: #212121;
--color-3: #333333;
--color-4: #454545;
--color-5: #575757;
--color-bg: #F7F7F7;
--color-surface: #EDEDED;
--color-border: #D8D3D5;
--color-text: #0F0F0F;
--color-muted: #656565;
--color-primary: #575757;
--color-on-primary: #FFFFFF;
--color-accent: #212121;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F0F;
--color-surface: #191919;
--color-border: #302C2D;
--color-text: #A7A7A7;
--color-muted: #818181;
--color-primary: #656565;
--color-on-primary: #FFFFFF;
--color-accent: #979797;
--color-on-accent: #0F0F0F;
}
}
Color values
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Roles & contrast
Original colors are kept; roles are adjusted only when needed for contrast.
| Role | Light mode | Dark mode |
|---|---|---|
| Background | adjusted for contrast · from #575757 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #575757 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | adjusted for contrast · from #575757 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #575757 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.89:1 | AAA pass 4.5:1 | |
| Text on surface | 16.37:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.44:1 | AA pass 4.5:1 | |
| Label on primary | 7.23:1 | AAA pass 4.5:1 | |
| Label on accent | 16.10:1 | AAA pass 4.5:1 | |
| Primary on background | 6.75:1 | AA pass 3:1 | |
| Accent on background | 15.03:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.97:1 | AAA pass 4.5:1 | |
| Text on surface | 7.31:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 5.83:1 | AA pass 4.5:1 | |
| Label on accent | 6.56:1 | AA pass 4.5:1 | |
| Primary on background | 3.29:1 | AA Large pass 3:1 | |
| Accent on background | 6.56:1 | AA pass 3:1 |
Every color on every color
Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.
| Background / Text | #0F0F0F (Text 1) | #212121 (Text 2) | #333333 (Text 3) | #454545 (Text 4) | #575757 (Text 5) |
|---|---|---|---|---|---|
| #0F0F0F | Same color | 1.19— | 1.52— | 2.00— | 2.65— |
| #212121 | 1.19— | Same color | 1.27— | 1.68— | 2.23— |
| #333333 | 1.52— | 1.27— | Same color | 1.32— | 1.75— |
| #454545 | 2.00— | 1.68— | 1.32— | Same color | 1.33— |
| #575757 | 2.65— | 2.23— | 1.75— | 1.33— | Same color |
Shades
Shades and tints (50–950)
