Ruby#CA0147
#CA0147 is a mid, highly saturated pink. Relative luminance 0.130; OKLCH L 53.4% C 0.213 H 13.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #CA0147 |
|---|---|
| RGB | rgb(202, 1, 71) |
| HSL | hsl(339, 99%, 40%) |
| HSV | hsv(339, 100%, 79%) |
| CMYK | cmyk(0%, 99.5%, 64.9%, 20.8%) |
| CIE-LAB | lab(42.82, 68.98, 20.79) |
| CIE-LCH | lch(42.82, 72.05, 16.77°) |
| OKLab | oklab(53.44% 0.2073 0.05) |
| OKLCH | oklch(53.44% 0.213 13.6) |
| XYZ | xyz(25.5082, 13.0373, 7.1334) |
| Luminance | 0.1303 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 0.00
Lipstick
#D5174E
ΔE00 3.05
Rose Red
#BE013C
ΔE00 3.14
Cardinal
#C41E3A
ΔE00 4.73
Cherry (survey)
#CF0234
ΔE00 6.00
Rouge
#AB1239
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA0147 #01CA84
analogous
#CA01AC #CA0147 #CA1F01
triadic
#CA0147 #47CA01 #0147CA
tetradic
#CA0147 #ACCA01 #01CA84 #1F01CA
square
#CA0147 #ACCA01 #01CA84 #1F01CA
split-complementary
#CA0147 #01CA1F #01ACCA
monochromatic
#50001C #8D0132 #CA0147 #FE0A5F #FE4787
Accessibility & contrast
On white
5.82
#CA0147 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#CA0147 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CA0147
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA0147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CA0147 | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4D48
Deuteranopia (green-blind)
#7C7242
Tritanopia (blue-blind)
#DE0029
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ca0147; /* rgb */ color: rgb(202, 1, 71); /* oklch */ color: oklch(53.4% 0.213 13.6);
Tailwind
colors: {
custom: {
50: '#e36a79',
500: '#ca0147',
950: '#000000',
},
}SCSS
$custom: #ca0147; $custom-light: #e36a79; $custom-dark: #000000;
JSON
{
"hex": "#ca0147",
"rgb": {
"r": 202,
"g": 1,
"b": 71
},
"hsl": {
"h": 339.104,
"s": 99.015,
"l": 39.804
},
"oklch": {
"l": 0.5344,
"c": 0.21319,
"h": 13.6
},
"luminance": 0.13033
}Semantic roles & 50–950 ramp
primary
#CA0147
secondary
#49DEAA
accent
#FFB429
background
#FFF7F7
surface
#FEEDED
border
#D6C8C8
text
#170809
muted
#857B7B