#CA507F#CA507F
#CA507F is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.4% C 0.161 H 359.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #CA507F |
|---|---|
| RGB | rgb(202, 80, 127) |
| HSL | hsl(337, 54%, 55%) |
| HSV | hsv(337, 60%, 79%) |
| CMYK | cmyk(0%, 60.4%, 37.1%, 20.8%) |
| CIE-LAB | lab(51.64, 52.82, -1.20) |
| CIE-LCH | lch(51.64, 52.83, 358.69°) |
| OKLab | oklab(60.41% 0.1612 -0.0025) |
| OKLCH | oklch(60.41% 0.161 359.1) |
| XYZ | xyz(31.0584, 19.8296, 22.2664) |
| Luminance | 0.1983 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.02
Dark Pink
#CB416B
ΔE00 4.92
Deep Rose
#C74767
ΔE00 5.90
Blush
#DE5D83
ΔE00 5.95
Rose (survey)
#CF6275
ΔE00 7.59
Cherry
#DE3163
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA507F #50CA9B
analogous
#CA50BC #CA507F #CA5E50
triadic
#CA507F #7FCA50 #507FCA
tetradic
#CA507F #BCCA50 #50CA9B #5E50CA
square
#CA507F #BCCA50 #50CA9B #5E50CA
split-complementary
#CA507F #50CA5E #50BCCA
monochromatic
#7A2546 #A93361 #CA507F #D87FA1 #E6AEC4
Accessibility & contrast
On white
4.23
#CA507F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#CA507F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CA507F
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA507F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA507F | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 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)
#656D80
Deuteranopia (green-blind)
#86847C
Tritanopia (blue-blind)
#D94562
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #ca507f; /* rgb */ color: rgb(202, 80, 127); /* oklch */ color: oklch(60.4% 0.161 359.1);
Tailwind
colors: {
custom: {
50: '#de87a4',
500: '#ca507f',
950: '#000000',
},
}SCSS
$custom: #ca507f; $custom-light: #de87a4; $custom-dark: #000000;
JSON
{
"hex": "#ca507f",
"rgb": {
"r": 202,
"g": 80,
"b": 127
},
"hsl": {
"h": 336.885,
"s": 53.509,
"l": 55.294
},
"oklch": {
"l": 0.60414,
"c": 0.16124,
"h": 359.1
},
"luminance": 0.19826
}Semantic roles & 50–950 ramp
primary
#CA507F
secondary
#A1D4C1
accent
#DDA54B
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F