#CA517B#CA517B
#CA517B is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.4% C 0.158 H 1.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #CA517B |
|---|---|
| RGB | rgb(202, 81, 123) |
| HSL | hsl(339, 53%, 55%) |
| HSV | hsv(339, 60%, 79%) |
| CMYK | cmyk(0%, 59.9%, 39.1%, 20.8%) |
| CIE-LAB | lab(51.70, 51.93, 1.26) |
| CIE-LCH | lch(51.70, 51.94, 1.39°) |
| OKLab | oklab(60.41% 0.1584 0.0039) |
| OKLCH | oklch(60.41% 0.158 1.4) |
| XYZ | xyz(30.8766, 19.8749, 20.9452) |
| Luminance | 0.1987 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 2.91
Dark Pink
#CB416B
ΔE00 4.15
Deep Rose
#C74767
ΔE00 4.89
Blush
#DE5D83
ΔE00 5.44
Rose (survey)
#CF6275
ΔE00 6.53
Cherry
#DE3163
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA517B #51CAA0
analogous
#CA51B7 #CA517B #CA6451
triadic
#CA517B #7BCA51 #517BCA
tetradic
#CA517B #B7CA51 #51CAA0 #6451CA
square
#CA517B #B7CA51 #51CAA0 #6451CA
split-complementary
#CA517B #51CA64 #51B7CA
monochromatic
#7B2543 #AA345D #CA517B #D8809F #E7AFC2
Accessibility & contrast
On white
4.22
#CA517B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#CA517B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CA517B
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA517B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA517B | 1.00 | 4.22 | 4.97 | 4.97 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#676D7C
Deuteranopia (green-blind)
#878478
Tritanopia (blue-blind)
#DA4561
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #ca517b; /* rgb */ color: rgb(202, 81, 123); /* oklch */ color: oklch(60.4% 0.158 1.4);
Tailwind
colors: {
custom: {
50: '#de87a1',
500: '#ca517b',
950: '#000000',
},
}SCSS
$custom: #ca517b; $custom-light: #de87a1; $custom-dark: #000000;
JSON
{
"hex": "#ca517b",
"rgb": {
"r": 202,
"g": 81,
"b": 123
},
"hsl": {
"h": 339.174,
"s": 53.304,
"l": 55.49
},
"oklch": {
"l": 0.60414,
"c": 0.15849,
"h": 1.4
},
"luminance": 0.19871
}Semantic roles & 50–950 ramp
primary
#CA517B
secondary
#A2D5C3
accent
#DDAA4B
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E