#CA508A#CA508A
#CA508A is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.8% C 0.166 H 353.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #CA508A |
|---|---|
| RGB | rgb(202, 80, 138) |
| HSL | hsl(331, 54%, 55%) |
| HSV | hsv(331, 60%, 79%) |
| CMYK | cmyk(0%, 60.4%, 31.7%, 20.8%) |
| CIE-LAB | lab(51.99, 54.12, -7.26) |
| CIE-LCH | lch(51.99, 54.60, 352.36°) |
| OKLab | oklab(60.78% 0.1648 -0.0185) |
| OKLCH | oklch(60.78% 0.166 353.6) |
| XYZ | xyz(31.8148, 20.1321, 26.2502) |
| Luminance | 0.2013 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.79
Dark Pink
#CB416B
ΔE00 7.43
Blush
#DE5D83
ΔE00 7.50
Purplish Pink
#CE5DAE
ΔE00 7.62
Pale Magenta
#D767AD
ΔE00 8.05
Deeppink
#FF1493
ΔE00 8.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA508A #50CA90
analogous
#CA50C7 #CA508A #CA5350
triadic
#CA508A #8ACA50 #508ACA
tetradic
#CA508A #C7CA50 #50CA90 #5350CA
square
#CA508A #C7CA50 #50CA90 #5350CA
split-complementary
#CA508A #50CA53 #50C7CA
monochromatic
#7A254E #A9336B #CA508A #D87FA9 #E6AEC9
Accessibility & contrast
On white
4.18
#CA508A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#CA508A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CA508A
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA508A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA508A | 1.00 | 4.18 | 5.03 | 5.03 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#626E8C
Deuteranopia (green-blind)
#838487
Tritanopia (blue-blind)
#D84967
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #ca508a; /* rgb */ color: rgb(202, 80, 138); /* oklch */ color: oklch(60.8% 0.166 353.6);
Tailwind
colors: {
custom: {
50: '#de87ac',
500: '#ca508a',
950: '#000000',
},
}SCSS
$custom: #ca508a; $custom-light: #de87ac; $custom-dark: #000000;
JSON
{
"hex": "#ca508a",
"rgb": {
"r": 202,
"g": 80,
"b": 138
},
"hsl": {
"h": 331.475,
"s": 53.509,
"l": 55.294
},
"oklch": {
"l": 0.60781,
"c": 0.16579,
"h": 353.6
},
"luminance": 0.20129
}Semantic roles & 50–950 ramp
primary
#CA508A
secondary
#A1D4BC
accent
#DD974B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F