#CD52A2#CD52A2
#CD52A2 is a light, vivid pink. Relative luminance 0.216; OKLCH L 62.4% C 0.179 H 343.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #CD52A2 |
|---|---|
| RGB | rgb(205, 82, 162) |
| HSL | hsl(321, 55%, 56%) |
| HSV | hsv(321, 60%, 80%) |
| CMYK | cmyk(0%, 60%, 21%, 19.6%) |
| CIE-LAB | lab(53.63, 57.29, -18.91) |
| CIE-LCH | lch(53.63, 60.34, 341.73°) |
| OKLab | oklab(62.37% 0.1715 -0.0504) |
| OKLCH | oklch(62.37% 0.179 343.6) |
| XYZ | xyz(34.7167, 21.6255, 36.5212) |
| Luminance | 0.2162 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 2.97
Pale Magenta
#D767AD
ΔE00 5.33
Pinky Purple
#C94CBE
ΔE00 6.30
Purpleish Pink
#DF4EC8
ΔE00 6.87
Purpley Pink
#C83CB9
ΔE00 7.13
Bright Pink
#FE01B1
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD52A2 #52CD7D
analogous
#BB52CD #CD52A2 #CD5265
triadic
#CD52A2 #A2CD52 #52A2CD
tetradic
#CD52A2 #CDBB52 #52CD7D #5265CD
square
#CD52A2 #CDBB52 #52CD7D #5265CD
split-complementary
#CD52A2 #65CD52 #52CDBB
monochromatic
#802560 #AF3384 #CD52A2 #DB81BC #E8B1D5
Accessibility & contrast
On white
3.94
#CD52A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#CD52A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD52A2
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD52A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD52A2 | 1.00 | 3.94 | 5.32 | 5.32 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C73A4
Deuteranopia (green-blind)
#80889F
Tritanopia (blue-blind)
#D95273
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #cd52a2; /* rgb */ color: rgb(205, 82, 162); /* oklch */ color: oklch(62.4% 0.179 343.6);
Tailwind
colors: {
custom: {
50: '#df89bd',
500: '#cd52a2',
950: '#000000',
},
}SCSS
$custom: #cd52a2; $custom-light: #df89bd; $custom-dark: #000000;
JSON
{
"hex": "#cd52a2",
"rgb": {
"r": 205,
"g": 82,
"b": 162
},
"hsl": {
"h": 320.976,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.62366,
"c": 0.17877,
"h": 343.6
},
"luminance": 0.21622
}Semantic roles & 50–950 ramp
primary
#CD52A2
secondary
#A4D7B6
accent
#DE7D49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81