#CA5178#CA5178
#CA5178 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.3% C 0.158 H 3.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #CA5178 |
|---|---|
| RGB | rgb(202, 81, 120) |
| HSL | hsl(341, 53%, 55%) |
| HSV | hsv(341, 60%, 79%) |
| CMYK | cmyk(0%, 59.9%, 40.6%, 20.8%) |
| CIE-LAB | lab(51.61, 51.60, 2.94) |
| CIE-LCH | lch(51.61, 51.68, 3.26°) |
| OKLab | oklab(60.32% 0.1574 0.0082) |
| OKLCH | oklch(60.32% 0.158 3) |
| XYZ | xyz(30.6917, 19.8009, 19.9713) |
| Luminance | 0.1980 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.09
Dark Pink
#CB416B
ΔE00 3.64
Deep Rose
#C74767
ΔE00 4.17
Blush
#DE5D83
ΔE00 5.33
Rose (survey)
#CF6275
ΔE00 5.93
Cherry
#DE3163
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA5178 #51CAA3
analogous
#CA51B5 #CA5178 #CA6651
triadic
#CA5178 #78CA51 #5178CA
tetradic
#CA5178 #B5CA51 #51CAA3 #6651CA
square
#CA5178 #B5CA51 #51CAA3 #6651CA
split-complementary
#CA5178 #51CA66 #51B5CA
monochromatic
#7B2541 #AA345A #CA5178 #D8809C #E7AFC1
Accessibility & contrast
On white
4.23
#CA5178 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#CA5178 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CA5178
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA5178 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA5178 | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#686C79
Deuteranopia (green-blind)
#888475
Tritanopia (blue-blind)
#DA4460
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #ca5178; /* rgb */ color: rgb(202, 81, 120); /* oklch */ color: oklch(60.3% 0.158 3.0);
Tailwind
colors: {
custom: {
50: '#de879e',
500: '#ca5178',
950: '#000000',
},
}SCSS
$custom: #ca5178; $custom-light: #de879e; $custom-dark: #000000;
JSON
{
"hex": "#ca5178",
"rgb": {
"r": 202,
"g": 81,
"b": 120
},
"hsl": {
"h": 340.661,
"s": 53.304,
"l": 55.49
},
"oklch": {
"l": 0.60324,
"c": 0.15759,
"h": 3
},
"luminance": 0.19797
}Semantic roles & 50–950 ramp
primary
#CA5178
secondary
#A2D5C4
accent
#DDAE4B
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E