#CD528A#CD528A
#CD528A is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.5% C 0.166 H 354.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #CD528A |
|---|---|
| RGB | rgb(205, 82, 138) |
| HSL | hsl(333, 55%, 56%) |
| HSV | hsv(333, 60%, 80%) |
| CMYK | cmyk(0%, 60%, 32.7%, 19.6%) |
| CIE-LAB | lab(52.79, 54.15, -6.02) |
| CIE-LCH | lch(52.79, 54.49, 353.66°) |
| OKLab | oklab(61.47% 0.165 -0.0152) |
| OKLCH | oklch(61.47% 0.166 354.7) |
| XYZ | xyz(32.7832, 20.8521, 26.3382) |
| Luminance | 0.2085 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.23
Blush
#DE5D83
ΔE00 6.56
Dark Pink
#CB416B
ΔE00 7.30
Purplish Pink
#CE5DAE
ΔE00 7.75
Pale Magenta
#D767AD
ΔE00 7.76
Deeppink
#FF1493
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD528A #52CD95
analogous
#CD52C8 #CD528A #CD5852
triadic
#CD528A #8ACD52 #528ACD
tetradic
#CD528A #C8CD52 #52CD95 #5852CD
square
#CD528A #C8CD52 #52CD95 #5852CD
split-complementary
#CD528A #52CD58 #52C8CD
monochromatic
#80254E #AF336B #CD528A #DB81AA #E8B1CA
Accessibility & contrast
On white
4.06
#CD528A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#CD528A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD528A
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD528A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD528A | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#65708C
Deuteranopia (green-blind)
#868687
Tritanopia (blue-blind)
#DC4A68
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #cd528a; /* rgb */ color: rgb(205, 82, 138); /* oklch */ color: oklch(61.5% 0.166 354.7);
Tailwind
colors: {
custom: {
50: '#e089ac',
500: '#cd528a',
950: '#000000',
},
}SCSS
$custom: #cd528a; $custom-light: #e089ac; $custom-dark: #000000;
JSON
{
"hex": "#cd528a",
"rgb": {
"r": 205,
"g": 82,
"b": 138
},
"hsl": {
"h": 332.683,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.61468,
"c": 0.16567,
"h": 354.7
},
"luminance": 0.20849
}Semantic roles & 50–950 ramp
primary
#CD528A
secondary
#A4D7C0
accent
#DE9B49
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F