#CD56AF#CD56AF
#CD56AF is a light, vivid pink. Relative luminance 0.227; OKLCH L 63.4% C 0.182 H 338.5°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #CD56AF |
|---|---|
| RGB | rgb(205, 86, 175) |
| HSL | hsl(315, 54%, 57%) |
| HSV | hsv(315, 58%, 80%) |
| CMYK | cmyk(0%, 58%, 14.6%, 19.6%) |
| CIE-LAB | lab(54.80, 57.42, -24.70) |
| CIE-LCH | lch(54.80, 62.51, 336.72°) |
| OKLab | oklab(63.4% 0.169 -0.0666) |
| OKLCH | oklch(63.4% 0.182 338.5) |
| XYZ | xyz(36.2430, 22.7328, 43.0281) |
| Luminance | 0.2273 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 1.69
Pinky Purple
#C94CBE
ΔE00 4.26
Purpleish Pink
#DF4EC8
ΔE00 4.68
Pale Magenta
#D767AD
ΔE00 5.14
Purpley Pink
#C83CB9
ΔE00 5.99
Pinkish Purple
#D648D7
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD56AF #56CD74
analogous
#B056CD #CD56AF #CD5674
triadic
#CD56AF #AFCD56 #56AFCD
tetradic
#CD56AF #CDB056 #56CD74 #5674CD
square
#CD56AF #CDB056 #56CD74 #5674CD
split-complementary
#CD56AF #74CD56 #56CDB0
monochromatic
#82266B #B13492 #CD56AF #DB85C5 #E9B4DC
Accessibility & contrast
On white
3.79
#CD56AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#CD56AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD56AF
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD56AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD56AF | 1.00 | 3.79 | 5.55 | 5.55 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A77B2
Deuteranopia (green-blind)
#7D8AAC
Tritanopia (blue-blind)
#D75A7B
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #cd56af; /* rgb */ color: rgb(205, 86, 175); /* oklch */ color: oklch(63.4% 0.182 338.5);
Tailwind
colors: {
custom: {
50: '#df8cc7',
500: '#cd56af',
950: '#000000',
},
}SCSS
$custom: #cd56af; $custom-light: #df8cc7; $custom-dark: #000000;
JSON
{
"hex": "#cd56af",
"rgb": {
"r": 205,
"g": 86,
"b": 175
},
"hsl": {
"h": 315.126,
"s": 54.338,
"l": 57.059
},
"oklch": {
"l": 0.63395,
"c": 0.18166,
"h": 338.5
},
"luminance": 0.2273
}Semantic roles & 50–950 ramp
primary
#CD56AF
secondary
#A7D8B3
accent
#DE6F4A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82