Export

Code

/* Night City — colorset.net */
:root {
  --color-1: #0B0F14;
  --color-2: #F6E03B;
  --color-3: #FF2A6D;
  --color-4: #1F2A36;
  --color-5: #E6F1F5;

  --color-bg: #E6F1F5;
  --color-surface: #F1F7FA;
  --color-border: #CAD9DF;
  --color-text: #0B0F14;
  --color-muted: #5D6369;
  --color-primary: #E7005C;
  --color-on-primary: #FFFFFF;
  --color-accent: #9A8A00;
  --color-on-accent: #0B0F14;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0B0F14;
    --color-surface: #15191E;
    --color-border: #272E36;
    --color-text: #E6F1F5;
    --color-muted: #7F898C;
    --color-primary: #E7005C;
    --color-on-primary: #FFFFFF;
    --color-accent: #F6E03B;
    --color-on-accent: #0B0F14;
  }
}

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 5from palette · color 1
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1from palette · color 5
Muted textderivedderived
Primaryadjusted for contrast · from #FF2A6Dadjusted for contrast · from #FF2A6D
On primaryderivedderived
Accentadjusted for contrast · from #F6E03Bfrom palette · color 2
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background16.72:1AAA pass 4.5:1
Text on surface17.78:1AAA pass 4.5:1
Muted text on background5.29:1AA pass 4.5:1
Label on primary4.61:1AA pass 4.5:1
Label on accent5.50:1AA pass 4.5:1
Primary on background4.01:1AA Large pass 3:1
Accent on background3.04:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background16.72:1AAA pass 4.5:1
Text on surface15.35:1AAA pass 4.5:1
Muted text on background5.36:1AA pass 4.5:1
Label on primary4.61:1AA pass 4.5:1
Label on accent14.32:1AAA pass 4.5:1
Primary on background4.17:1AA Large pass 3:1
Accent on background14.32: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#0B0F14 (Text 1)#F6E03B (Text 2)#FF2A6D (Text 3)#1F2A36 (Text 4)#E6F1F5 (Text 5)
#0B0F14Same color14.32AAA5.31AA1.32—16.72AAA
#F6E03B14.32AAASame color2.70—10.84AAA1.17—
#FF2A6D5.31AA2.70—Same color4.02AA Large3.15AA Large
#1F2A361.32—10.84AAA4.02AA LargeSame color12.66AAA
#E6F1F516.72AAA1.17—3.15AA Large12.66AAASame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#0B0F14#F6E03B#FF2A6D#1F2A36#E6F1F5

Variations

About Night City

Acid yellow and magenta signage over rain-soaked asphalt. No single hue dominates Night City: pink carries about 40% of the color weight, shared with yellow and neutral, and vivid pink #FF2A6D sits in the middle of the range. The hues range across 91° of the wheel, pairing pale yellow #F6E03B with vivid pink for lively contrast. Lightness runs from 17% to 95% (OKLCH), with #FF2A6D in between, a wide range that leaves room for readable text and clear backgrounds. Saturation is medium (mean OKLCH chroma 0.093, peaking at 0.242 in #FF2A6D); the colors are clear without being loud. As a UI theme it uses #E7005C for primary actions and #9A8A00 as the accent; dark mode sits on #0B0F14 with #E6F1F5 text (16.7:1). With #FF2A6D leading, good fits include accessible interfaces, bold editorial layouts and signage.

Night City color palette: #0B0F14, #F6E03B, #FF2A6D, #1F2A36, #E6F1F5
Share image for Night City

Gradients in similar colors