Export

Code

/* Ruby Sale — colorset.net */
:root {
  --color-1: #FFF7F6;
  --color-2: #D7263D;
  --color-3: #1B998B;
  --color-4: #F4B9C0;
  --color-5: #22151A;

  --color-bg: #FFF7F6;
  --color-surface: #F6EEED;
  --color-border: #E0D4D2;
  --color-text: #22151A;
  --color-muted: #79696F;
  --color-primary: #D7263D;
  --color-on-primary: #FFFFFF;
  --color-accent: #1B998B;
  --color-on-accent: #22151A;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #22151A;
    --color-surface: #2D1F25;
    --color-border: #45333A;
    --color-text: #FFF7F6;
    --color-muted: #97908F;
    --color-primary: #D7263D;
    --color-on-primary: #FFFFFF;
    --color-accent: #1B998B;
    --color-on-accent: #22151A;
  }
}

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 1from palette · color 5
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 5from palette · color 1
Muted textderivedderived
Primaryfrom palette · color 2from palette · color 2
On primaryderivedderived
Accentfrom palette · color 3from palette · color 3
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background16.71:1AAA pass 4.5:1
Text on surface15.44:1AAA pass 4.5:1
Muted text on background4.89:1AA pass 4.5:1
Label on primary4.96:1AA pass 4.5:1
Label on accent5.02:1AA pass 4.5:1
Primary on background4.70:1AA pass 3:1
Accent on background3.33:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background16.71:1AAA pass 4.5:1
Text on surface14.90:1AAA pass 4.5:1
Muted text on background5.63:1AA pass 4.5:1
Label on primary4.96:1AA pass 4.5:1
Label on accent5.02:1AA pass 4.5:1
Primary on background3.56:1AA Large pass 3:1
Accent on background5.02:1AA 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#FFF7F6 (Text 1)#D7263D (Text 2)#1B998B (Text 3)#F4B9C0 (Text 4)#22151A (Text 5)
#FFF7F6Same color4.70AA3.33AA Large1.58—16.71AAA
#D7263D4.70AASame color1.41—2.96—3.56AA Large
#1B998B3.33AA Large1.41—Same color2.10—5.02AA
#F4B9C01.58—2.96—2.10—Same color10.54AAA
#22151A16.71AAA3.56AA Large5.02AA10.54AAASame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FFF7F6#D7263D#1B998B#F4B9C0#22151A

Variations

About Ruby Sale

Ruby red for urgency and a teal counterpoint so the page never feels shouty. No single hue dominates Ruby Sale: red carries about 40% of the color weight, shared with teal and pink, and teal #1B998B sits in the middle of the range. A 172° hue spread puts teal against light pink #F4B9C0, close to a complementary contrast. Lightness runs from 21% to 98% (OKLCH), with #1B998B in between, a wide range that leaves room for readable text and clear backgrounds. Saturation is low (mean OKLCH chroma 0.083, peaking at 0.209 in #D7263D); the colors feel soft and muted. Text contrast reaches 16.7:1 in light mode and 16.7:1 in dark mode, with #D7263D as primary and #1B998B as accent. Its high-contrast character, led by #D7263D, suits illustration, data visualization and brand systems with many sub-brands.

Ruby Sale color palette: #FFF7F6, #D7263D, #1B998B, #F4B9C0, #22151A
Share image for Ruby Sale

Gradients in similar colors