#CD51A9#CD51A9
#CD51A9 is a light, vivid pink. Relative luminance 0.217; OKLCH L 62.5% C 0.185 H 340.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #CD51A9 |
|---|---|
| RGB | rgb(205, 81, 169) |
| HSL | hsl(317, 55%, 56%) |
| HSV | hsv(317, 60%, 80%) |
| CMYK | cmyk(0%, 60.5%, 17.6%, 19.6%) |
| CIE-LAB | lab(53.74, 58.73, -22.84) |
| CIE-LCH | lch(53.74, 63.02, 338.75°) |
| OKLab | oklab(62.54% 0.1744 -0.0613) |
| OKLCH | oklch(62.54% 0.185 340.6) |
| XYZ | xyz(35.2815, 21.7316, 39.8649) |
| Luminance | 0.2173 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 2.55
Pinky Purple
#C94CBE
ΔE00 4.78
Purpleish Pink
#DF4EC8
ΔE00 5.60
Pale Magenta
#D767AD
ΔE00 5.69
Purpley Pink
#C83CB9
ΔE00 5.85
Bright Pink
#FE01B1
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD51A9 #51CD75
analogous
#B351CD #CD51A9 #CD516B
triadic
#CD51A9 #A9CD51 #51A9CD
tetradic
#CD51A9 #CDB351 #51CD75 #516BCD
square
#CD51A9 #CDB351 #51CD75 #516BCD
split-complementary
#CD51A9 #6BCD51 #51CDB3
monochromatic
#7F2565 #AF328A #CD51A9 #DB81C0 #E8B0D8
Accessibility & contrast
On white
3.93
#CD51A9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#CD51A9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD51A9
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD51A9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD51A9 | 1.00 | 3.93 | 5.35 | 5.35 |
| #FFFFFF | 3.93 | 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)
#5874AC
Deuteranopia (green-blind)
#7D88A6
Tritanopia (blue-blind)
#D85376
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #cd51a9; /* rgb */ color: rgb(205, 81, 169); /* oklch */ color: oklch(62.5% 0.185 340.6);
Tailwind
colors: {
custom: {
50: '#df89c2',
500: '#cd51a9',
950: '#000000',
},
}SCSS
$custom: #cd51a9; $custom-light: #df89c2; $custom-dark: #000000;
JSON
{
"hex": "#cd51a9",
"rgb": {
"r": 205,
"g": 81,
"b": 169
},
"hsl": {
"h": 317.419,
"s": 55.357,
"l": 56.078
},
"oklch": {
"l": 0.62539,
"c": 0.18484,
"h": 340.6
},
"luminance": 0.21729
}Semantic roles & 50–950 ramp
primary
#CD51A9
secondary
#A3D7B2
accent
#DF7549
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81