Ruby
#E0115FAbout 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.
| Text color | Ratio | AA normal | AA large | AAA normal |
|---|---|---|---|---|
| White #FFFFFF | 4.76:1 | Pass | Pass | Fail |
| Ink black #0F0F12 | 4.02:1 | Fail | Pass | Fail |
| Mid grey #6B7280 | 1.02:1 | Fail | Fail | Fail |
| Dark grey #374151 | 2.17:1 | Fail | Fail | Fail |
| Light grey #E5E7EB | 3.84:1 | Fail | Pass | Fail |
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
| Format | Value |
|---|---|
| HEX | #E0115F |
| RGB | rgb(224, 17, 95) |
| HSL | hsl(337, 86%, 47%) |
| HSV | hsv(337, 92%, 88%) |
| CMYK | cmyk(0%, 92%, 58%, 12%) |
| OKLCH | oklch(58.44% 0.2280 8.91) |
| CIELAB | lab(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.