#CD5787#CD5787
#CD5787 is a light, vivid pink. Relative luminance 0.215; OKLCH L 62.0% C 0.157 H 357.3°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #CD5787 |
|---|---|
| RGB | rgb(205, 87, 135) |
| HSL | hsl(336, 54%, 57%) |
| HSV | hsv(336, 58%, 80%) |
| CMYK | cmyk(0%, 57.6%, 34.1%, 19.6%) |
| CIE-LAB | lab(53.54, 51.52, -3.12) |
| CIE-LCH | lch(53.54, 51.61, 356.54°) |
| OKLab | oklab(62% 0.1569 -0.0075) |
| OKLCH | oklch(62% 0.157 357.3) |
| XYZ | xyz(32.9599, 21.5482, 25.3404) |
| Luminance | 0.2155 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.79
Blush
#DE5D83
ΔE00 5.12
Dark Pink
#CB416B
ΔE00 6.87
Palevioletred
#DB7093
ΔE00 6.94
Rose (survey)
#CF6275
ΔE00 7.62
Deep Rose
#C74767
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD5787 #57CD9D
analogous
#CD57C2 #CD5787 #CD6257
triadic
#CD5787 #87CD57 #5787CD
tetradic
#CD5787 #C2CD57 #57CD9D #6257CD
square
#CD5787 #C2CD57 #57CD9D #6257CD
split-complementary
#CD5787 #57CD62 #57C2CD
monochromatic
#83274C #B23568 #CD5787 #DB86A9 #E9B5CA
Accessibility & contrast
On white
3.96
#CD5787 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#CD5787 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD5787
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD5787 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD5787 | 1.00 | 3.96 | 5.31 | 5.31 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A7288
Deuteranopia (green-blind)
#898884
Tritanopia (blue-blind)
#DC4E69
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #cd5787; /* rgb */ color: rgb(205, 87, 135); /* oklch */ color: oklch(62.0% 0.157 357.3);
Tailwind
colors: {
custom: {
50: '#e08ba9',
500: '#cd5787',
950: '#000000',
},
}SCSS
$custom: #cd5787; $custom-light: #e08ba9; $custom-dark: #000000;
JSON
{
"hex": "#cd5787",
"rgb": {
"r": 205,
"g": 87,
"b": 135
},
"hsl": {
"h": 335.593,
"s": 54.128,
"l": 57.255
},
"oklch": {
"l": 0.62001,
"c": 0.15712,
"h": 357.3
},
"luminance": 0.21545
}Semantic roles & 50–950 ramp
primary
#CD5787
secondary
#A8D8C4
accent
#DDA24A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F