PINK

Ruby

No. 108

#E0115Frgb(224, 17, 95)hsl(337, 86%, 47%)

Ruby is #E0115F, rgb(224, 17, 95).

Conversions
HEX#E0115F
RGBrgb(224, 17, 95)
HSLhsl(337, 86%, 47%)
HSVhsv(337, 92%, 88%)
CMYKcmyk(0%, 92%, 58%, 12%)
Copy CSS
color: #e0115f; /* rgb */ color: rgb(224, 17, 95); /* hsl */ color: hsl(337, 86%, 47%);
Shades
Tints

Colors that go with Ruby

  • Complementary

  • Analogous

  • Triadic

Contrast

1 of 2 backgrounds pass AA

  1. On whitePass4.76 : 1
  2. On ink blackFail4.02 : 1

About Ruby

Ruby is the hex color #E0115F, which translates to rgb(224, 17, 95) in RGB and hsl(337, 86%, 47%) in HSL. On the color wheel it sits at 337 degrees, with a saturation of 86 percent and a lightness of 47 percent. Its OKLCH chroma of 0.228 is high, so Ruby is one of the more vivid pink tones here and is easy to overuse at large sizes.

How Ruby compares

The closest standard CSS keyword is crimson (#DC143C), a CIE76 distance of 19.8 away in CIELAB. That is a visible difference, so the keyword is not a substitute here. In the Tailwind CSS 4.3.1 palette the nearest token is pink-700 (#C6005C), at a distance of 10.4. Inside this library the closest neighbour is Raspberry at 2.7. Sorted by lightness, Ruby is number 5 of the 27 pink colors here.

Text on Ruby

One of the five common text colors below clears WCAG AA for normal text on Ruby, led by White at 4.76:1. The ratios are computed with the WCAG relative luminance formula, the same one the contrast checker uses, which opens with Ruby already loaded as the background.

Contrast of common text colors on Ruby. AA normal text needs 4.5:1, AA large text and non-text elements need 3:1, AAA normal text needs 7:1.
Text colorRatioAA normalAA largeAAA normal
White #FFFFFF4.76:1PassPassFail
Ink black #0F0F124.02:1FailPassFail
Mid grey #6B72801.02:1FailFailFail
Dark grey #3741512.17:1FailFailFail
Light grey #E5E7EB3.84:1FailPassFail

Building a palette around Ruby

The pairings above give you three classic starting points. The complementary color sits opposite on the wheel and works well as an accent that draws the eye. The analogous colors sit right beside Ruby for calmer, harmonious combinations. The triadic pair spaces three hues evenly for a balanced, energetic palette. Open any swatch to explore it as its own color, or open the palette generator with Ruby locked and let it fill in the rest.

Full values for Ruby

FormatValue
HEX#E0115F
RGBrgb(224, 17, 95)
HSLhsl(337, 86%, 47%)
HSVhsv(337, 92%, 88%)
CMYKcmyk(0%, 92%, 58%, 12%)
OKLCHoklch(58.44% 0.2280 8.91)
CIELABlab(48.36 74.04 14.07)

Frequently asked questions

What is the RGB value of Ruby?

Ruby (#E0115F) is rgb(224, 17, 95): 224 red, 17 green and 95 blue on the 0 to 255 scale. Red leads at 224, blue follows at 95 and green trails at 17, which puts the hue at 337 degrees. In HSL the same color is hsl(337, 86%, 47%).

What colour is #E0115F?

#E0115F is Ruby, a mid pink colour with a hue of 337 degrees, 86% saturation and 47% lightness. For print the CMYK breakdown is 0% cyan, 92% magenta, 58% yellow and 12% black. Its nearest neighbour in this library is Raspberry, 2.7 away in CIELAB, a difference you can see.

Is Ruby a CSS color name?

No. Ruby is not one of the 148 CSS named colors, so write it as #E0115F. The nearest keyword is crimson (#DC143C), a CIE76 distance of 19.8: far enough that the keyword reads as a different color.

What colors go with Ruby?

Opposite Ruby on the color wheel sits the complementary #11E092, the boldest accent by hue. For a calmer scheme use the analogous neighbours #E011C6 and #E02A11; for a balanced three-color scheme use the triadic pair #5FE011 and #115FE0 (close to Cobalt). Of these, #5FE011 has the most contrast against Ruby, at 2.75:1, so pair it by hue, not for legibility.

What text color is readable on Ruby?

White (#FFFFFF) is the most readable on Ruby, at 4.76:1, which clears WCAG AA (4.5:1) but not AAA. 1 of the 5 common text colors tested passes AA for normal text.

Use Ruby in a tool

Nearby colors

Last updated by FusionStudios. Every value on this page is computed by the same functions the tools use. How this is calculated.