#CD518C#CD518C
#CD518C is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.4% C 0.168 H 353.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #CD518C |
|---|---|
| RGB | rgb(205, 81, 140) |
| HSL | hsl(331, 55%, 56%) |
| HSV | hsv(331, 60%, 80%) |
| CMYK | cmyk(0%, 60.5%, 31.7%, 19.6%) |
| CIE-LAB | lab(52.69, 54.84, -7.35) |
| CIE-LCH | lch(52.69, 55.33, 352.36°) |
| OKLab | oklab(61.41% 0.167 -0.0188) |
| OKLCH | oklch(61.41% 0.168 353.6) |
| XYZ | xyz(32.8545, 20.7608, 27.0829) |
| Luminance | 0.2076 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.67
Blush
#DE5D83
ΔE00 7.09
Purplish Pink
#CE5DAE
ΔE00 7.27
Pale Magenta
#D767AD
ΔE00 7.50
Dark Pink
#CB416B
ΔE00 7.74
Deeppink
#FF1493
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD518C #51CD92
analogous
#CD51CA #CD518C #CD5451
triadic
#CD518C #8CCD51 #518CCD
tetradic
#CD518C #CACD51 #51CD92 #5451CD
square
#CD518C #CACD51 #51CD92 #5451CD
split-complementary
#CD518C #51CD54 #51CACD
monochromatic
#7F2550 #AF326D #CD518C #DB81AB #E8B0CB
Accessibility & contrast
On white
4.08
#CD518C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#CD518C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD518C
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD518C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD518C | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#63708E
Deuteranopia (green-blind)
#858689
Tritanopia (blue-blind)
#DC4968
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #cd518c; /* rgb */ color: rgb(205, 81, 140); /* oklch */ color: oklch(61.4% 0.168 353.6);
Tailwind
colors: {
custom: {
50: '#e088ad',
500: '#cd518c',
950: '#000000',
},
}SCSS
$custom: #cd518c; $custom-light: #e088ad; $custom-dark: #000000;
JSON
{
"hex": "#cd518c",
"rgb": {
"r": 205,
"g": 81,
"b": 140
},
"hsl": {
"h": 331.452,
"s": 55.357,
"l": 56.078
},
"oklch": {
"l": 0.61414,
"c": 0.16801,
"h": 353.6
},
"luminance": 0.20757
}Semantic roles & 50–950 ramp
primary
#CD518C
secondary
#A3D7BE
accent
#DF9849
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F