Ruby color #CA0147
Ruby is a color name from the xkcd color survey for the hex code #CA0147 — RGB 202, 1, 71, HSL 339°, 99%, 40%.
#CA0147Ruby
Color codes
- HEX
#CA0147- RGB
rgb(202, 1, 71)- HSL
hsl(339, 99%, 40%)- CMYK
0%, 100%, 65%, 21%- OKLCH
oklch(53.4% 0.213 13.6)
Tints and shades
#FFF1F2#FFCACE#FFA1AA#FF7085#F13F65#D3184E#AE003C#87002C#61001E#3E0010#1F0004
Color harmonies
Complementary
#CA0147#007D7C
Analogous
#B91B8B#CA0147#B34500
Triadic
#CA0147#467F00#006CCA
Split complementary
#CA0147#00815A#007997
Tetradic
#CA0147#796F00#007D7C#644EE1
Contrast with text
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Ruby text on white | 5.82 : 1 | 76 | AA — body text |
| Ruby text on black | 3.61 : 1 | -25 | AA for large text only |
| White text on Ruby | 5.82 : 1 | -82 | AA — body text |
| Black text on Ruby | 3.61 : 1 | 28 | AA for large text only |
Palettes with this color
Frequently asked questions
What is the hex code of Ruby?
Ruby has the hex code #CA0147, which is RGB 202, 1, 71 and HSL 339°, 99%, 40%.
Which text color reads best on Ruby?
White text: contrast 5.82 : 1 (black text: 3.61 : 1).
Which colors go well with Ruby?
Its complementary color is #007D7C; analogous colors are #B91B8B and #B34500; a triadic set adds #467F00 and #006CCA.
Similar colors
- Cherry #CF0234
- Lipstick #D5174E
- Lipstick Red #C0022F
- Crimson #DC143C
- Dark Hot Pink #D90166
- Scarlet #BE0119
- Purplish Red #B0054B
- Dull Red #BB3F3F
- Rouge #AB1239
- Firebrick #B22222
Sources and licences
- xkcd color survey (Randall Munroe, CC0 1.0)
- Afoli — conversions, shades, harmonies, WCAG 2.x / APCA contrast (tools/color/color-core.js)