#CA517F#CA517F
#CA517F is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.5% C 0.160 H 359.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #CA517F |
|---|---|
| RGB | rgb(202, 81, 127) |
| HSL | hsl(337, 53%, 55%) |
| HSV | hsv(337, 60%, 79%) |
| CMYK | cmyk(0%, 59.9%, 37.1%, 20.8%) |
| CIE-LAB | lab(51.81, 52.37, -0.96) |
| CIE-LCH | lch(51.81, 52.38, 358.95°) |
| OKLab | oklab(60.54% 0.1598 -0.0018) |
| OKLCH | oklch(60.54% 0.16 359.3) |
| XYZ | xyz(31.1321, 19.9771, 22.2910) |
| Luminance | 0.1997 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.03
Dark Pink
#CB416B
ΔE00 4.95
Blush
#DE5D83
ΔE00 5.76
Deep Rose
#C74767
ΔE00 5.88
Rose (survey)
#CF6275
ΔE00 7.38
Cherry
#DE3163
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA517F #51CA9C
analogous
#CA51BB #CA517F #CA5F51
triadic
#CA517F #7FCA51 #517FCA
tetradic
#CA517F #BBCA51 #51CA9C #5F51CA
square
#CA517F #BBCA51 #51CA9C #5F51CA
split-complementary
#CA517F #51CA5F #51BBCA
monochromatic
#7B2546 #AA3461 #CA517F #D880A2 #E7AFC4
Accessibility & contrast
On white
4.20
#CA517F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#CA517F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CA517F
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA517F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA517F | 1.00 | 4.20 | 4.99 | 4.99 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#666D80
Deuteranopia (green-blind)
#86847C
Tritanopia (blue-blind)
#D94663
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #ca517f; /* rgb */ color: rgb(202, 81, 127); /* oklch */ color: oklch(60.5% 0.160 359.3);
Tailwind
colors: {
custom: {
50: '#de87a4',
500: '#ca517f',
950: '#000000',
},
}SCSS
$custom: #ca517f; $custom-light: #de87a4; $custom-dark: #000000;
JSON
{
"hex": "#ca517f",
"rgb": {
"r": 202,
"g": 81,
"b": 127
},
"hsl": {
"h": 337.19,
"s": 53.304,
"l": 55.49
},
"oklch": {
"l": 0.60539,
"c": 0.15982,
"h": 359.3
},
"luminance": 0.19974
}Semantic roles & 50–950 ramp
primary
#CA517F
secondary
#A2D5C1
accent
#DDA54B
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F