#CD51A2#CD51A2
#CD51A2 is a light, vivid pink. Relative luminance 0.215; OKLCH L 62.2% C 0.180 H 343.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #CD51A2 |
|---|---|
| RGB | rgb(205, 81, 162) |
| HSL | hsl(321, 55%, 56%) |
| HSV | hsv(321, 60%, 80%) |
| CMYK | cmyk(0%, 60.5%, 21%, 19.6%) |
| CIE-LAB | lab(53.47, 57.73, -19.16) |
| CIE-LCH | lch(53.47, 60.83, 341.64°) |
| OKLab | oklab(62.25% 0.1729 -0.051) |
| OKLCH | oklch(62.25% 0.18 343.5) |
| XYZ | xyz(34.6418, 21.4758, 36.4962) |
| Luminance | 0.2147 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.10
Pale Magenta
#D767AD
ΔE00 5.52
Pinky Purple
#C94CBE
ΔE00 6.20
Purpleish Pink
#DF4EC8
ΔE00 6.85
Purpley Pink
#C83CB9
ΔE00 6.97
Bright Pink
#FE01B1
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD51A2 #51CD7C
analogous
#BA51CD #CD51A2 #CD5164
triadic
#CD51A2 #A2CD51 #51A2CD
tetradic
#CD51A2 #CDBA51 #51CD7C #5164CD
square
#CD51A2 #CDBA51 #51CD7C #5164CD
split-complementary
#CD51A2 #64CD51 #51CDBA
monochromatic
#7F2560 #AF3283 #CD51A2 #DB81BB #E8B0D5
Accessibility & contrast
On white
3.97
#CD51A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#CD51A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD51A2
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD51A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD51A2 | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B73A5
Deuteranopia (green-blind)
#7F879F
Tritanopia (blue-blind)
#D95172
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #cd51a2; /* rgb */ color: rgb(205, 81, 162); /* oklch */ color: oklch(62.2% 0.180 343.5);
Tailwind
colors: {
custom: {
50: '#df88bd',
500: '#cd51a2',
950: '#000000',
},
}SCSS
$custom: #cd51a2; $custom-light: #df88bd; $custom-dark: #000000;
JSON
{
"hex": "#cd51a2",
"rgb": {
"r": 205,
"g": 81,
"b": 162
},
"hsl": {
"h": 320.806,
"s": 55.357,
"l": 56.078
},
"oklch": {
"l": 0.62247,
"c": 0.18023,
"h": 343.5
},
"luminance": 0.21473
}Semantic roles & 50–950 ramp
primary
#CD51A2
secondary
#A3D7B5
accent
#DF7D49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81