#CD51AF#CD51AF
#CD51AF is a light, vivid pink. Relative luminance 0.220; OKLCH L 62.8% C 0.189 H 338.2°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #CD51AF |
|---|---|
| RGB | rgb(205, 81, 175) |
| HSL | hsl(315, 55%, 56%) |
| HSV | hsv(315, 60%, 80%) |
| CMYK | cmyk(0%, 60.5%, 14.6%, 19.6%) |
| CIE-LAB | lab(53.99, 59.62, -25.95) |
| CIE-LCH | lch(53.99, 65.02, 336.48°) |
| OKLab | oklab(62.8% 0.1755 -0.0701) |
| OKLCH | oklch(62.8% 0.189 338.2) |
| XYZ | xyz(35.8577, 21.9621, 42.8997) |
| Luminance | 0.2196 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 2.69
Pinky Purple
#C94CBE
ΔE00 3.63
Purpleish Pink
#DF4EC8
ΔE00 4.65
Purpley Pink
#C83CB9
ΔE00 5.06
Pale Magenta
#D767AD
ΔE00 6.09
Pinkish Purple
#D648D7
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD51AF #51CD6F
analogous
#AD51CD #CD51AF #CD5171
triadic
#CD51AF #AFCD51 #51AFCD
tetradic
#CD51AF #CDAD51 #51CD6F #5171CD
square
#CD51AF #CDAD51 #51CD6F #5171CD
split-complementary
#CD51AF #71CD51 #51CDAD
monochromatic
#7F2569 #AF3291 #CD51AF #DB81C5 #E8B0DB
Accessibility & contrast
On white
3.89
#CD51AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.39
#CD51AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD51AF
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD51AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD51AF | 1.00 | 3.89 | 5.39 | 5.39 |
| #FFFFFF | 3.89 | 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)
#5575B2
Deuteranopia (green-blind)
#7B88AC
Tritanopia (blue-blind)
#D85679
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #cd51af; /* rgb */ color: rgb(205, 81, 175); /* oklch */ color: oklch(62.8% 0.189 338.2);
Tailwind
colors: {
custom: {
50: '#df89c7',
500: '#cd51af',
950: '#000000',
},
}SCSS
$custom: #cd51af; $custom-light: #df89c7; $custom-dark: #000000;
JSON
{
"hex": "#cd51af",
"rgb": {
"r": 205,
"g": 81,
"b": 175
},
"hsl": {
"h": 314.516,
"s": 55.357,
"l": 56.078
},
"oklch": {
"l": 0.628,
"c": 0.18902,
"h": 338.2
},
"luminance": 0.21959
}Semantic roles & 50–950 ramp
primary
#CD51AF
secondary
#A3D7B0
accent
#DF6D49
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82