#CA508F#CA508F
#CA508F is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.0% C 0.168 H 351.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #CA508F |
|---|---|
| RGB | rgb(202, 80, 143) |
| HSL | hsl(329, 54%, 55%) |
| HSV | hsv(329, 60%, 79%) |
| CMYK | cmyk(0%, 60.4%, 29.2%, 20.8%) |
| CIE-LAB | lab(52.15, 54.74, -9.98) |
| CIE-LCH | lch(52.15, 55.65, 349.67°) |
| OKLab | oklab(60.96% 0.1662 -0.0258) |
| OKLCH | oklch(60.96% 0.168 351.2) |
| XYZ | xyz(32.1851, 20.2803, 28.2008) |
| Luminance | 0.2028 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 5.81
Purplish Pink
#CE5DAE
ΔE00 6.53
Pale Magenta
#D767AD
ΔE00 7.33
Neon Pink
#FE019A
ΔE00 8.28
Blush
#DE5D83
ΔE00 8.36
Shocking Pink
#FE02A2
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA508F #50CA8B
analogous
#C850CA #CA508F #CA5052
triadic
#CA508F #8FCA50 #508FCA
tetradic
#CA508F #CAC850 #50CA8B #5052CA
square
#CA508F #CAC850 #50CA8B #5052CA
split-complementary
#CA508F #52CA50 #50CAC8
monochromatic
#7A2551 #A93370 #CA508F #D87FAD #E6AECB
Accessibility & contrast
On white
4.15
#CA508F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#CA508F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CA508F
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA508F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA508F | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#606F91
Deuteranopia (green-blind)
#82848C
Tritanopia (blue-blind)
#D84A69
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #ca508f; /* rgb */ color: rgb(202, 80, 143); /* oklch */ color: oklch(61.0% 0.168 351.2);
Tailwind
colors: {
custom: {
50: '#de87af',
500: '#ca508f',
950: '#000000',
},
}SCSS
$custom: #ca508f; $custom-light: #de87af; $custom-dark: #000000;
JSON
{
"hex": "#ca508f",
"rgb": {
"r": 202,
"g": 80,
"b": 143
},
"hsl": {
"h": 329.016,
"s": 53.509,
"l": 55.294
},
"oklch": {
"l": 0.60959,
"c": 0.16823,
"h": 351.2
},
"luminance": 0.20277
}Semantic roles & 50–950 ramp
primary
#CA508F
secondary
#A1D4BA
accent
#DD924B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F