#CD528C#CD528C
#CD528C is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.5% C 0.167 H 353.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #CD528C |
|---|---|
| RGB | rgb(205, 82, 140) |
| HSL | hsl(332, 55%, 56%) |
| HSV | hsv(332, 60%, 80%) |
| CMYK | cmyk(0%, 60%, 31.7%, 19.6%) |
| CIE-LAB | lab(52.85, 54.40, -7.11) |
| CIE-LCH | lch(52.85, 54.86, 352.56°) |
| OKLab | oklab(61.54% 0.1656 -0.0181) |
| OKLCH | oklch(61.54% 0.167 353.8) |
| XYZ | xyz(32.9294, 20.9106, 27.1078) |
| Luminance | 0.2091 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.64
Blush
#DE5D83
ΔE00 6.91
Purplish Pink
#CE5DAE
ΔE00 7.28
Pale Magenta
#D767AD
ΔE00 7.41
Dark Pink
#CB416B
ΔE00 7.75
Deeppink
#FF1493
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD528C #52CD93
analogous
#CD52CA #CD528C #CD5652
triadic
#CD528C #8CCD52 #528CCD
tetradic
#CD528C #CACD52 #52CD93 #5652CD
square
#CD528C #CACD52 #52CD93 #5652CD
split-complementary
#CD528C #52CD56 #52CACD
monochromatic
#802550 #AF336D #CD528C #DB81AC #E8B1CB
Accessibility & contrast
On white
4.05
#CD528C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#CD528C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD528C
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD528C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD528C | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#64708E
Deuteranopia (green-blind)
#868689
Tritanopia (blue-blind)
#DC4A69
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #cd528c; /* rgb */ color: rgb(205, 82, 140); /* oklch */ color: oklch(61.5% 0.167 353.8);
Tailwind
colors: {
custom: {
50: '#e089ad',
500: '#cd528c',
950: '#000000',
},
}SCSS
$custom: #cd528c; $custom-light: #e089ad; $custom-dark: #000000;
JSON
{
"hex": "#cd528c",
"rgb": {
"r": 205,
"g": 82,
"b": 140
},
"hsl": {
"h": 331.707,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.61536,
"c": 0.16658,
"h": 353.8
},
"luminance": 0.20907
}Semantic roles & 50–950 ramp
primary
#CD528C
secondary
#A4D7BF
accent
#DE9849
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F