ruby red color code
The hex code for ruby red is #E0115F, which is rgb(224, 17, 95) in RGB and cmyk(0%, 92%, 58%, 12%) in CMYK. It's a medium, vivid magenta. There is no official standard for ruby red; #E0115F is the value most colour references use.
Build a full palette from it: open in the palette generator.
Move the sliders to find a lighter, darker or softer ruby red; the codes update as you go.
Ruby Red colour codes
| HEX | #E0115F |
|---|---|
| RGB | rgb(224, 17, 95) |
| HSL | hsl(337, 86%, 47%) |
| HSV / HSB | hsv(337, 92%, 88%) |
| CMYK | cmyk(0%, 92%, 58%, 12%) |
| Decimal | 14684511 |
About ruby red
Ruby Red sits at a hue of 337° on the colour wheel, with 86% saturation and 47% lightness. That makes it a warm colour: warm colours feel energetic and inviting and appear to come forward on a page.
Named after the red gemstone ruby.
For text, white reads better on ruby red. Ruby Red as text on a white background has a contrast ratio of 4.75:1, which passes the WCAG AA rule for body text (4.5:1). On black it is 4.41:1, which fails AA for body text.
Tints and shades of ruby red
Tints mix ruby red with white and shades mix it with black, in 10% steps. They're the easiest way to get lighter backgrounds and darker hover or text colours that still match.
Colours that go with ruby red
Complementary — opposite on the colour wheel: maximum contrast
Analogous — neighbours 30° either side: calm and natural
Triadic — three hues 120° apart: lively but balanced
Split complementary — the two neighbours of the complement: contrast with less tension
Tetradic — four hues 90° apart: rich, use one as the main colour
Ruby Red text contrast
| Combination | Ratio | AA normal (4.5:1) | AA large (3:1) | AAA (7:1) |
|---|---|---|---|---|
| ruby red on white | 4.75:1 | pass | pass | fail |
| ruby red on black | 4.41:1 | fail | pass | fail |
Check ruby red against any other colour in the contrast checker.
How ruby red looks with colour blindness
Simulated with the Machado et al. (2009) model for the complete loss of one type of cone cell. Colour vision deficiency affects roughly 1 in 12 men and 1 in 200 women, most often as red-green colour blindness.
Use ruby red in code
.ruby-red {
color: #e0115f;
background-color: #e0115f;
border-color: rgb(224, 17, 95);
}Frequently asked questions
What is the hex code for ruby red?
#E0115F is the most widely used value for ruby red. There's no official standard, so paint, fabric and brand swatches called ruby red can differ slightly; use the hex code to match it exactly on screen.
What is ruby red in RGB, HSL and CMYK?
RGB: rgb(224, 17, 95). HSL: hsl(337, 86%, 47%). CMYK: cmyk(0%, 92%, 58%, 12%). CMYK is a simple conversion for reference; for professional printing, ask your printer for a matching ink or Pantone swatch.
What colours go with ruby red?
Its complementary colour is #11E092 (close to medium spring green), which gives the strongest contrast. For a calmer look, use the analogous colours #E011C7 and #E02A11, or the triadic pair #5FE011 and #115FE0. Tints and shades of ruby red itself always work together.
Is ruby red a warm or cool colour?
Ruby Red has a hue of 337°, which makes it warm.
Should I use black or white text on ruby red?
White. Black text on ruby red has a contrast ratio of 4.41:1 and white text has 4.75:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.
Is ruby red a CSS colour name?
No. Ruby Red isn't one of the named colours built into CSS, so write it as a hex code: color: #e0115f;