PINK

Ruby

#E0115F
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%);
Contrast
On whitePass · 4.76 : 1
On ink blackFail · 4.02 : 1
Shades
Tints
Pairings

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.

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)

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.