#CA4878#CA4878
#CA4878 is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.2% C 0.170 H 0.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #CA4878 |
|---|---|
| RGB | rgb(202, 72, 120) |
| HSL | hsl(338, 55%, 54%) |
| HSV | hsv(338, 64%, 79%) |
| CMYK | cmyk(0%, 64.4%, 40.6%, 20.8%) |
| CIE-LAB | lab(50.16, 55.52, 0.83) |
| CIE-LCH | lch(50.16, 55.53, 0.85°) |
| OKLab | oklab(59.24% 0.1697 0.0028) |
| OKLCH | oklch(59.24% 0.17 0.9) |
| XYZ | xyz(30.0667, 18.5509, 19.7630) |
| Luminance | 0.1855 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.06
Dark Pink
#CB416B
ΔE00 3.21
Deep Rose
#C74767
ΔE00 4.53
Dark Hot Pink
#D90166
ΔE00 6.43
Cherry
#DE3163
ΔE00 6.60
Cerise
#DE0C62
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA4878 #48CA9A
analogous
#CA48B9 #CA4878 #CA5948
triadic
#CA4878 #78CA48 #4878CA
tetradic
#CA4878 #B9CA48 #48CA9A #5948CA
square
#CA4878 #B9CA48 #48CA9A #5948CA
split-complementary
#CA4878 #48CA59 #48B9CA
monochromatic
#762241 #A5305B #CA4878 #D8779B #E5A7BE
Accessibility & contrast
On white
4.46
#CA4878 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#CA4878 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CA4878
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA4878 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA4878 | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#616879
Deuteranopia (green-blind)
#848175
Tritanopia (blue-blind)
#DA3A5B
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #ca4878; /* rgb */ color: rgb(202, 72, 120); /* oklch */ color: oklch(59.2% 0.170 0.9);
Tailwind
colors: {
custom: {
50: '#df829e',
500: '#ca4878',
950: '#000000',
},
}SCSS
$custom: #ca4878; $custom-light: #df829e; $custom-dark: #000000;
JSON
{
"hex": "#ca4878",
"rgb": {
"r": 202,
"g": 72,
"b": 120
},
"hsl": {
"h": 337.846,
"s": 55.085,
"l": 53.725
},
"oklch": {
"l": 0.59242,
"c": 0.16976,
"h": 0.9
},
"luminance": 0.18547
}Semantic roles & 50–950 ramp
primary
#CA4878
secondary
#9BD3BE
accent
#DEA749
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E