Primary Accents

Export

Code

/* Primary Accents — colorset.net */
:root {
  --color-1: #FFFFFF;
  --color-2: #F5F5F5;
  --color-3: #4682B4;
  --color-4: #FFD700;
  --color-5: #DC143C;

  --color-bg: #FFFFFF;
  --color-surface: #F6F6F6;
  --color-border: #E0DCDD;
  --color-text: #803F40;
  --color-muted: #886968;
  --color-primary: #DC143C;
  --color-on-primary: #FFFFFF;
  --color-accent: #A78C00;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #1C0909;
    --color-surface: #281313;
    --color-border: #402625;
    --color-text: #FFFFFF;
    --color-muted: #8F8F8F;
    --color-primary: #DC143C;
    --color-on-primary: #FFFFFF;
    --color-accent: #FFD700;
    --color-on-accent: #1C0909;
  }
}

Color values

ColorHEXRGBHSLOKLCH
1
2
3
4
5

Roles & contrast

Original colors are kept; roles are adjusted only when needed for contrast.

RoleLight modeDark mode
Backgroundfrom palette · color 1adjusted for contrast · from #4682B4
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #DC143Cfrom palette · color 1
Muted textderivedderived
Primaryfrom palette · color 5from palette · color 5
On primaryderivedderived
Accentadjusted for contrast · from #4682B4from palette · color 4
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.77:1AAA pass 4.5:1
Text on surface7.19:1AAA pass 4.5:1
Muted text on background4.92:1AA pass 4.5:1
Label on primary4.99:1AA pass 4.5:1
Label on accent6.39:1AA pass 4.5:1
Primary on background4.99:1AA pass 3:1
Accent on background3.28:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background19.22:1AAA pass 4.5:1
Text on surface17.61:1AAA pass 4.5:1
Muted text on background5.94:1AA pass 4.5:1
Label on primary4.99:1AA pass 4.5:1
Label on accent13.71:1AAA pass 4.5:1
Primary on background3.85:1AA Large pass 3:1
Accent on background13.71:1AAA 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.

Every color on every color
Background / Text#FFFFFF (Text 1)#F5F5F5 (Text 2)#4682B4 (Text 3)#FFD700 (Text 4)#DC143C (Text 5)
#FFFFFFSame color1.09—4.11AA Large1.40—4.99AA
#F5F5F51.09—Same color3.77AA Large1.29—4.58AA
#4682B44.11AA Large3.77AA LargeSame color2.93—1.21—
#FFD7001.40—1.29—2.93—Same color3.56AA Large
#DC143C4.99AA4.58AA1.21—3.56AA LargeSame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FFFFFF#F5F5F5#4682B4#FFD700#DC143C

Variations

About Primary Accents

Primary Accents brings together two whites, a blue, a pale yellow and a vivid red (#FFFFFF, #F5F5F5, #4682B4, #FFD700, #DC143C) in a warm, multi-color-led scheme. Blue #4682B4 and pale yellow #FFD700 sit on nearly opposite sides of the wheel (150° apart), a complementary pairing that makes accents pop. With lightness between 57% and 100% and #FFD700 near the middle, there is enough spread for layered surfaces but not maximum text contrast. Average chroma is 0.101, medium for a palette, so the colors are clear without being loud; the most saturated color is #DC143C. In light mode #FFFFFF becomes the background with #803F40 text at 7.8:1, and #DC143C takes the primary role. With #DC143C leading, good fits include marketing pages, brand systems with many sub-brands and data visualization.

Primary Accents color palette: #FFFFFF, #F5F5F5, #4682B4, #FFD700, #DC143C
Share image for Primary Accents

Gradients in similar colors