PreviewingGo to this paletteOpen in generator
Code
/* Cranberry Red — colorset.net */
:root {
--color-1: #6D001A;
--color-2: #9B1B30;
--color-3: #BE2344;
--color-4: #DB3A5F;
--color-5: #F76E82;
--color-bg: #FFF4F4;
--color-surface: #FBE8E9;
--color-border: #E5CFD0;
--color-text: #5E2025;
--color-muted: #806262;
--color-primary: #D7365C;
--color-on-primary: #FFFFFF;
--color-accent: #9B1B30;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0809;
--color-surface: #281213;
--color-border: #402526;
--color-text: #C59B9E;
--color-muted: #9B7B7D;
--color-primary: #D7365C;
--color-on-primary: #FFFFFF;
--color-accent: #AC444C;
--color-on-accent: #FFFFFF;
}
}
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 #F76E82 | adjusted for contrast · from #6D001A |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #6D001A | adjusted for contrast · from #F76E82 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #DB3A5F | adjusted for contrast · from #DB3A5F |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #BE2344 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.41:1 | AAA pass 4.5:1 | |
| Text on surface | 10.43:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 8.10:1 | AAA pass 4.5:1 | |
| Primary on background | 4.27:1 | AA Large pass 3:1 | |
| Accent on background | 7.52:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.86:1 | AAA pass 4.5:1 | |
| Text on surface | 7.21:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 5.70:1 | AA pass 4.5:1 | |
| Primary on background | 4.20:1 | AA Large pass 3:1 | |
| Accent on background | 3.39:1 | AA Large 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 | #6D001A (Text 1) | #9B1B30 (Text 2) | #BE2344 (Text 3) | #DB3A5F (Text 4) | #F76E82 (Text 5) |
|---|---|---|---|---|---|
| #6D001A | Same color | 1.56— | 2.11— | 2.87— | 4.51AA |
| #9B1B30 | 1.56— | Same color | 1.35— | 1.84— | 2.90— |
| #BE2344 | 2.11— | 1.35— | Same color | 1.36— | 2.14— |
| #DB3A5F | 2.87— | 1.84— | 1.36— | Same color | 1.57— |
| #F76E82 | 4.51AA | 2.90— | 2.14— | 1.57— | Same color |
Shades
Shades and tints (50–950)
