#CD52A6#CD52A6
#CD52A6 is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.5% C 0.181 H 341.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #CD52A6 |
|---|---|
| RGB | rgb(205, 82, 166) |
| HSL | hsl(319, 55%, 56%) |
| HSV | hsv(319, 60%, 80%) |
| CMYK | cmyk(0%, 60%, 19%, 19.6%) |
| CIE-LAB | lab(53.78, 57.86, -21.02) |
| CIE-LCH | lch(53.78, 61.56, 340.04°) |
| OKLab | oklab(62.53% 0.1724 -0.0562) |
| OKLCH | oklch(62.53% 0.181 341.9) |
| XYZ | xyz(35.0779, 21.7700, 38.4236) |
| Luminance | 0.2177 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 2.54
Pale Magenta
#D767AD
ΔE00 5.38
Pinky Purple
#C94CBE
ΔE00 5.48
Purpleish Pink
#DF4EC8
ΔE00 6.13
Purpley Pink
#C83CB9
ΔE00 6.47
Bright Pink
#FE01B1
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD52A6 #52CD79
analogous
#B752CD #CD52A6 #CD5269
triadic
#CD52A6 #A6CD52 #52A6CD
tetradic
#CD52A6 #CDB752 #52CD79 #5269CD
square
#CD52A6 #CDB752 #52CD79 #5269CD
split-complementary
#CD52A6 #69CD52 #52CDB7
monochromatic
#802563 #AF3388 #CD52A6 #DB81BE #E8B1D7
Accessibility & contrast
On white
3.92
#CD52A6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#CD52A6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD52A6
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD52A6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD52A6 | 1.00 | 3.92 | 5.35 | 5.35 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B74A9
Deuteranopia (green-blind)
#7E88A3
Tritanopia (blue-blind)
#D95375
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #cd52a6; /* rgb */ color: rgb(205, 82, 166); /* oklch */ color: oklch(62.5% 0.181 341.9);
Tailwind
colors: {
custom: {
50: '#df89c0',
500: '#cd52a6',
950: '#000000',
},
}SCSS
$custom: #cd52a6; $custom-light: #df89c0; $custom-dark: #000000;
JSON
{
"hex": "#cd52a6",
"rgb": {
"r": 205,
"g": 82,
"b": 166
},
"hsl": {
"h": 319.024,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.6253,
"c": 0.18137,
"h": 341.9
},
"luminance": 0.21767
}Semantic roles & 50–950 ramp
primary
#CD52A6
secondary
#A4D7B4
accent
#DE7949
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81