#CD517A#CD517A
#CD517A is a mid, vivid pink. Relative luminance 0.203; OKLCH L 60.8% C 0.161 H 2.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #CD517A |
|---|---|
| RGB | rgb(205, 81, 122) |
| HSL | hsl(340, 55%, 56%) |
| HSV | hsv(340, 60%, 80%) |
| CMYK | cmyk(0%, 60.5%, 40.5%, 19.6%) |
| CIE-LAB | lab(52.14, 52.78, 2.57) |
| CIE-LCH | lch(52.14, 52.84, 2.79°) |
| OKLab | oklab(60.83% 0.161 0.0073) |
| OKLCH | oklch(60.83% 0.161 2.6) |
| XYZ | xyz(31.6341, 20.2727, 20.6557) |
| Luminance | 0.2027 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 2.57
Dark Pink
#CB416B
ΔE00 4.02
Deep Rose
#C74767
ΔE00 4.64
Blush
#DE5D83
ΔE00 4.82
Rose (survey)
#CF6275
ΔE00 5.92
Cherry
#DE3163
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD517A #51CDA4
analogous
#CD51B8 #CD517A #CD6651
triadic
#CD517A #7ACD51 #517ACD
tetradic
#CD517A #B8CD51 #51CDA4 #6651CD
square
#CD517A #B8CD51 #51CDA4 #6651CD
split-complementary
#CD517A #51CD66 #51B8CD
monochromatic
#7F2542 #AF325B #CD517A #DB819E #E8B0C3
Accessibility & contrast
On white
4.16
#CD517A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#CD517A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD517A
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD517A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD517A | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#686D7B
Deuteranopia (green-blind)
#898577
Tritanopia (blue-blind)
#DD4461
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #cd517a; /* rgb */ color: rgb(205, 81, 122); /* oklch */ color: oklch(60.8% 0.161 2.6);
Tailwind
colors: {
custom: {
50: '#e188a0',
500: '#cd517a',
950: '#000000',
},
}SCSS
$custom: #cd517a; $custom-light: #e188a0; $custom-dark: #000000;
JSON
{
"hex": "#cd517a",
"rgb": {
"r": 205,
"g": 81,
"b": 122
},
"hsl": {
"h": 340.161,
"s": 55.357,
"l": 56.078
},
"oklch": {
"l": 0.60832,
"c": 0.1612,
"h": 2.6
},
"luminance": 0.20269
}Semantic roles & 50–950 ramp
primary
#CD517A
secondary
#A3D7C6
accent
#DFAD49
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E