Ruby #CA0147

Ruby is a medium-dark, vivid red with hex code #CA0147 and RGB rgb(202, 1, 71).

Aa

White text reads best on this color (5.82:1).

About this color

#CA0147 is a medium-dark, vivid red. In OKLCH its lightness is 53%, its chroma 0.213 and its hue 14°. Its hue sits on the warm side of the wheel. It is the named color Ruby. White text reads best on it, at 5.82:1.

Hue familyReds
Lightnessmedium-dark (53%)
Chromavivid (0.213)
Temperaturewarm
Nearest nameRuby
Black text3.60:1
White text5.82:1

Colors that go with Ruby

Matches found by rotating Ruby around the OKLCH hue wheel, each labelled with the closest name in our list.

Complementary

The opposite hue (180°).

Open the complementary palette in the generator

Color palettes with Ruby

Curated color palettes that contain a color within ΔE 0.06 (OKLab) of Ruby, closest first.

Similar named colors

The eight named colors closest to Ruby, with their ΔE distance.

More about Ruby

How to make Ruby

A starting recipe from common paint colors, found with a spectral paint model (the color mixer’s paint mode). Real pigments vary, so mix a small test batch and adjust.

  • 4 parts red
  • 1 part purple

Recipe result: #C42932, a difference of ΔE 0.044 from Ruby. That is close; add a little more of one paint to match.

What colors make red? | Color mixing chart

Codes for Ruby in every format

HEX#CA0147
RGBrgb(202, 1, 71)
HSLhsl(339, 99%, 40%)
OKLCHoklch(53.4% 0.213 13.6)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #CA0147 5.82:1 AA Lc -81.8 Fine for body text
Black text on #CA0147 3.60:1 AA large text Lc 27.6 Dividers and decoration only
#CA0147 text on white 5.82:1 AA Lc 76.5 Fine for body text
#CA0147 text on black 3.60:1 AA large text Lc -25.3 Dividers and decoration only

Shades and tints of Ruby

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 600.

  1. Step 50

    50

    #FEF2F3

    oklch(97.1% 0.013 11.5)

  2. Step 100

    100

    #FCE3E4

    oklch(93.6% 0.028 14.9)

  3. Step 200

    200

    #FACBCF

    oklch(88.4% 0.054 12.5)

  4. Step 300

    300

    #F8A7AE

    oklch(80.9% 0.096 13.8)

  5. Step 400

    400

    #F07384

    oklch(70.6% 0.154 13.4)

  6. Step 500

    500

    #E74666

    oklch(63.2% 0.197 13.4)

  7. Step 600

    600 (this color)

    #CA0147

    oklch(53.4% 0.213 13.6)

  8. Step 700

    700

    #B4003E

    oklch(49% 0.196 13.6)

  9. Step 800

    800

    #930B33

    oklch(42.7% 0.164 13.7)

  10. Step 900

    900

    #76182D

    oklch(37.7% 0.128 13.5)

  11. Step 950

    950

    #46111A

    oklch(27.1% 0.081 14.5)

Export this scale for Tailwind in the Tailwind colors tool

Ruby with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#4F4D480.240
Deuteranopia (no green cones)#7C72420.218
Tritanopia (no blue cones)#DE00290.055
Achromatopsia (no color)#6565650.215

Use Ruby in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.