#CA3158#CA3158
#CA3158 is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.1% C 0.189 H 11.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #CA3158 |
|---|---|
| RGB | rgb(202, 49, 88) |
| HSL | hsl(345, 61%, 49%) |
| HSV | hsv(345, 76%, 79%) |
| CMYK | cmyk(0%, 75.7%, 56.4%, 20.8%) |
| CIE-LAB | lab(46.26, 61.21, 14.82) |
| CIE-LCH | lch(46.26, 62.98, 13.61°) |
| OKLab | oklab(56.09% 0.1852 0.0371) |
| OKLCH | oklch(56.09% 0.189 11.3) |
| XYZ | xyz(27.2195, 15.4617, 10.7817) |
| Luminance | 0.1546 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Lipstick
#D5174E
ΔE00 3.05
Deep Rose
#C74767
ΔE00 4.10
Raspberry
#E30B5C
ΔE00 4.19
Cerise
#DE0C62
ΔE00 4.30
Ruby
#CA0147
ΔE00 4.33
Cherry
#DE3163
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA3158 #31CAA3
analogous
#CA31A5 #CA3158 #CA5731
triadic
#CA3158 #58CA31 #3158CA
tetradic
#CA3158 #A5CA31 #31CAA3 #5731CA
square
#CA3158 #A5CA31 #31CAA3 #5731CA
split-complementary
#CA3158 #31CA57 #31A5CA
monochromatic
#67192D #992543 #CA3158 #D8607F #E491A6
Accessibility & contrast
On white
5.13
#CA3158 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#CA3158 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CA3158
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA3158 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CA3158 | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5A59
Deuteranopia (green-blind)
#817954
Tritanopia (blue-blind)
#DD0042
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #ca3158; /* rgb */ color: rgb(202, 49, 88); /* oklch */ color: oklch(56.1% 0.189 11.3);
Tailwind
colors: {
custom: {
50: '#e17786',
500: '#ca3158',
950: '#000000',
},
}SCSS
$custom: #ca3158; $custom-light: #e17786; $custom-dark: #000000;
JSON
{
"hex": "#ca3158",
"rgb": {
"r": 202,
"g": 49,
"b": 88
},
"hsl": {
"h": 344.706,
"s": 60.956,
"l": 49.216
},
"oklch": {
"l": 0.56086,
"c": 0.18889,
"h": 11.3
},
"luminance": 0.15458
}Semantic roles & 50–950 ramp
primary
#CA3158
secondary
#88CFBD
accent
#E4BB44
background
#FEF7F8
surface
#FDEEEF
border
#D5C9CA
text
#170A0B
muted
#857C7C