#CD54A2#CD54A2
#CD54A2 is a light, vivid pink. Relative luminance 0.219; OKLCH L 62.6% C 0.176 H 343.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #CD54A2 |
|---|---|
| RGB | rgb(205, 84, 162) |
| HSL | hsl(321, 55%, 57%) |
| HSV | hsv(321, 59%, 80%) |
| CMYK | cmyk(0%, 59%, 21%, 19.6%) |
| CIE-LAB | lab(53.95, 56.41, -18.41) |
| CIE-LCH | lch(53.95, 59.34, 341.92°) |
| OKLab | oklab(62.61% 0.1689 -0.049) |
| OKLCH | oklch(62.61% 0.176 343.8) |
| XYZ | xyz(34.8697, 21.9315, 36.5722) |
| Luminance | 0.2193 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 2.75
Pale Magenta
#D767AD
ΔE00 4.95
Pinky Purple
#C94CBE
ΔE00 6.52
Purpleish Pink
#DF4EC8
ΔE00 6.93
Purpley Pink
#C83CB9
ΔE00 7.47
Bright Pink
#FE01B1
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD54A2 #54CD7F
analogous
#BB54CD #CD54A2 #CD5466
triadic
#CD54A2 #A2CD54 #54A2CD
tetradic
#CD54A2 #CDBB54 #54CD7F #5466CD
square
#CD54A2 #CDBB54 #54CD7F #5466CD
split-complementary
#CD54A2 #66CD54 #54CDBB
monochromatic
#812660 #B03484 #CD54A2 #DB83BC #E9B3D6
Accessibility & contrast
On white
3.90
#CD54A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.39
#CD54A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD54A2
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD54A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD54A2 | 1.00 | 3.90 | 5.39 | 5.39 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E74A4
Deuteranopia (green-blind)
#81889F
Tritanopia (blue-blind)
#D95474
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #cd54a2; /* rgb */ color: rgb(205, 84, 162); /* oklch */ color: oklch(62.6% 0.176 343.8);
Tailwind
colors: {
custom: {
50: '#df8abd',
500: '#cd54a2',
950: '#000000',
},
}SCSS
$custom: #cd54a2; $custom-light: #df8abd; $custom-dark: #000000;
JSON
{
"hex": "#cd54a2",
"rgb": {
"r": 205,
"g": 84,
"b": 162
},
"hsl": {
"h": 321.322,
"s": 54.751,
"l": 56.667
},
"oklch": {
"l": 0.62607,
"c": 0.17581,
"h": 343.8
},
"luminance": 0.21928
}Semantic roles & 50–950 ramp
primary
#CD54A2
secondary
#A6D7B7
accent
#DE7E4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81