#CD57A2#CD57A2
#CD57A2 is a light, vivid pink. Relative luminance 0.224; OKLCH L 63.0% C 0.171 H 344.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #CD57A2 |
|---|---|
| RGB | rgb(205, 87, 162) |
| HSL | hsl(322, 54%, 57%) |
| HSV | hsv(322, 58%, 80%) |
| CMYK | cmyk(0%, 57.6%, 21%, 19.6%) |
| CIE-LAB | lab(54.46, 55.06, -17.65) |
| CIE-LCH | lch(54.46, 57.82, 342.23°) |
| OKLab | oklab(62.98% 0.1648 -0.0469) |
| OKLCH | oklch(62.98% 0.171 344.1) |
| XYZ | xyz(35.1076, 22.4073, 36.6514) |
| Luminance | 0.2240 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 2.52
Pale Magenta
#D767AD
ΔE00 4.39
Pinky Purple
#C94CBE
ΔE00 6.89
Purpleish Pink
#DF4EC8
ΔE00 7.07
Purpley Pink
#C83CB9
ΔE00 8.01
Bright Pink
#FE01B1
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD57A2 #57CD82
analogous
#BD57CD #CD57A2 #CD5767
triadic
#CD57A2 #A2CD57 #57A2CD
tetradic
#CD57A2 #CDBD57 #57CD82 #5767CD
square
#CD57A2 #CDBD57 #57CD82 #5767CD
split-complementary
#CD57A2 #67CD57 #57CDBD
monochromatic
#832761 #B23584 #CD57A2 #DB86BC #E9B5D6
Accessibility & contrast
On white
3.83
#CD57A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#CD57A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD57A2
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD57A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD57A2 | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6176A4
Deuteranopia (green-blind)
#828A9F
Tritanopia (blue-blind)
#D95675
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #cd57a2; /* rgb */ color: rgb(205, 87, 162); /* oklch */ color: oklch(63.0% 0.171 344.1);
Tailwind
colors: {
custom: {
50: '#df8cbd',
500: '#cd57a2',
950: '#000000',
},
}SCSS
$custom: #cd57a2; $custom-light: #df8cbd; $custom-dark: #000000;
JSON
{
"hex": "#cd57a2",
"rgb": {
"r": 205,
"g": 87,
"b": 162
},
"hsl": {
"h": 321.864,
"s": 54.128,
"l": 57.255
},
"oklch": {
"l": 0.62978,
"c": 0.17131,
"h": 344.1
},
"luminance": 0.22404
}Semantic roles & 50–950 ramp
primary
#CD57A2
secondary
#A8D8B9
accent
#DD804A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81