In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Pearl and Noir — colorset.net */
:root {
--color-1: #F4F2EF;
--color-2: #5C4B7A;
--color-3: #B7956B;
--color-4: #DEDBD5;
--color-5: #18171C;
--color-bg: #F4F2EF;
--color-surface: #FBF9F8;
--color-border: #DDD9D3;
--color-text: #18171C;
--color-muted: #6A696F;
--color-primary: #5C4B7A;
--color-on-primary: #FFFFFF;
--color-accent: #A7865C;
--color-on-accent: #18171C;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #18171C;
--color-surface: #222127;
--color-border: #38363F;
--color-text: #F4F2EF;
--color-muted: #8F8D8B;
--color-primary: #766495;
--color-on-primary: #FFFFFF;
--color-accent: #B7956B;
--color-on-accent: #18171C;
}
}
Farbwerte
| Farbe | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Rollen & Kontrast
Die Originalfarben bleiben erhalten; Rollen werden nur angepasst, wenn der Kontrast es erfordert.
| Rolle | Hellmodus | Dunkelmodus |
|---|---|---|
| Hintergrund | aus der Palette · Farbe 1 | aus der Palette · Farbe 5 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | aus der Palette · Farbe 5 | aus der Palette · Farbe 1 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 2 | für Kontrast angepasst · aus #5C4B7A |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #B7956B | aus der Palette · Farbe 3 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 15,95:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 16,98:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,87:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 7,66:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,27:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 6,85:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,03:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 15,95:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 14,29:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,39:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,21:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 6,39:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,42:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 6,39:1 | AA erfüllt 3:1 |
Jede Farbe auf jeder Farbe
Zeilen sind Hintergründe, Spalten Textfarben, gemessen mit den echten Palettenfarben. Grenzwerte: AAA 7:1, AA 4,5:1, AA großer Text 3:1.
| Hintergrund / Text | #F4F2EF (Text 1) | #5C4B7A (Text 2) | #B7956B (Text 3) | #DEDBD5 (Text 4) | #18171C (Text 5) |
|---|---|---|---|---|---|
| #F4F2EF | Gleiche Farbe | 6,85AA | 2,50— | 1,24— | 15,95AAA |
| #5C4B7A | 6,85AA | Gleiche Farbe | 2,74— | 5,54AA | 2,33— |
| #B7956B | 2,50— | 2,74— | Gleiche Farbe | 2,02— | 6,39AA |
| #DEDBD5 | 1,24— | 5,54AA | 2,02— | Gleiche Farbe | 12,90AAA |
| #18171C | 15,95AAA | 2,33— | 6,39AA | 12,90AAA | Gleiche Farbe |
Stufen
Farbstufen (50–950)
