#CD518A#CD518A
#CD518A is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.3% C 0.167 H 354.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #CD518A |
|---|---|
| RGB | rgb(205, 81, 138) |
| HSL | hsl(332, 55%, 56%) |
| HSV | hsv(332, 60%, 80%) |
| CMYK | cmyk(0%, 60.5%, 32.7%, 19.6%) |
| CIE-LAB | lab(52.62, 54.60, -6.26) |
| CIE-LCH | lch(52.62, 54.96, 353.46°) |
| OKLab | oklab(61.35% 0.1664 -0.0158) |
| OKLCH | oklch(61.35% 0.167 354.6) |
| XYZ | xyz(32.7084, 20.7024, 26.3132) |
| Luminance | 0.2070 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.26
Blush
#DE5D83
ΔE00 6.74
Dark Pink
#CB416B
ΔE00 7.29
Purplish Pink
#CE5DAE
ΔE00 7.73
Pale Magenta
#D767AD
ΔE00 7.83
Deeppink
#FF1493
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD518A #51CD94
analogous
#CD51C8 #CD518A #CD5651
triadic
#CD518A #8ACD51 #518ACD
tetradic
#CD518A #C8CD51 #51CD94 #5651CD
square
#CD518A #C8CD51 #51CD94 #5651CD
split-complementary
#CD518A #51CD56 #51C8CD
monochromatic
#7F254E #AF326B #CD518A #DB81AA #E8B0CA
Accessibility & contrast
On white
4.09
#CD518A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#CD518A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD518A
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD518A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD518A | 1.00 | 4.09 | 5.14 | 5.14 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#646F8C
Deuteranopia (green-blind)
#868687
Tritanopia (blue-blind)
#DC4967
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #cd518a; /* rgb */ color: rgb(205, 81, 138); /* oklch */ color: oklch(61.3% 0.167 354.6);
Tailwind
colors: {
custom: {
50: '#e088ac',
500: '#cd518a',
950: '#000000',
},
}SCSS
$custom: #cd518a; $custom-light: #e088ac; $custom-dark: #000000;
JSON
{
"hex": "#cd518a",
"rgb": {
"r": 205,
"g": 81,
"b": 138
},
"hsl": {
"h": 332.419,
"s": 55.357,
"l": 56.078
},
"oklch": {
"l": 0.61345,
"c": 0.1671,
"h": 354.6
},
"luminance": 0.20699
}Semantic roles & 50–950 ramp
primary
#CD518A
secondary
#A3D7BF
accent
#DF9A49
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F