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 family | Reds |
| Lightness | medium-dark (53%) |
| Chroma | vivid (0.213) |
| Temperature | warm |
| Nearest name | Ruby |
| Black text | 3.60:1 |
| White text | 5.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°).
Analogous
Neighbouring hues, 30° either side.
Triadic
Three hues spaced 120° apart.
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.
- Cherry #CF0234 ΔE 0.027
- Lipstick #D5174E ΔE 0.028
- Rose Red #BE013C ΔE 0.028
- Lipstick Red #C0022F ΔE 0.035
- Crimson #DC143C ΔE 0.045
- Dark Hot Pink #D90166 ΔE 0.052
- Cerise #DE0C62 ΔE 0.054
- Scarlet #BE0119 ΔE 0.055
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.
Codes for Ruby in every format
| HEX | #CA0147 |
| RGB | rgb(202, 1, 71) |
| HSL | hsl(339, 99%, 40%) |
| OKLCH | oklch(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.
| Pair | WCAG 2 | Result | APCA | APCA 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.
-
Step 50
50
#FEF2F3
oklch(97.1% 0.013 11.5)
-
Step 100
100
#FCE3E4
oklch(93.6% 0.028 14.9)
-
Step 200
200
#FACBCF
oklch(88.4% 0.054 12.5)
-
Step 300
300
#F8A7AE
oklch(80.9% 0.096 13.8)
-
Step 400
400
#F07384
oklch(70.6% 0.154 13.4)
-
Step 500
500
#E74666
oklch(63.2% 0.197 13.4)
-
Step 600
600 (this color)
#CA0147
oklch(53.4% 0.213 13.6)
-
Step 700
700
#B4003E
oklch(49% 0.196 13.6)
-
Step 800
800
#930B33
oklch(42.7% 0.164 13.7)
-
Step 900
900
#76182D
oklch(37.7% 0.128 13.5)
-
Step 950
950
#46111A
oklch(27.1% 0.081 14.5)
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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #4F4D48 | 0.240 |
| Deuteranopia (no green cones) | #7C7242 | 0.218 |
| Tritanopia (no blue cones) | #DE0029 | 0.055 |
| Achromatopsia (no color) | #656565 | 0.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.