#CD5F8D#CD5F8D
#CD5F8D is a light, vivid pink. Relative luminance 0.231; OKLCH L 63.3% C 0.148 H 355.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #CD5F8D |
|---|---|
| RGB | rgb(205, 95, 141) |
| HSL | hsl(335, 52%, 59%) |
| HSV | hsv(335, 54%, 80%) |
| CMYK | cmyk(0%, 53.7%, 31.2%, 19.6%) |
| CIE-LAB | lab(55.16, 48.46, -4.27) |
| CIE-LCH | lch(55.16, 48.65, 354.97°) |
| OKLab | oklab(63.27% 0.1472 -0.0106) |
| OKLCH | oklch(63.27% 0.148 355.9) |
| XYZ | xyz(34.0783, 23.0899, 27.8562) |
| Luminance | 0.2309 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Blush
#DE5D83
ΔE00 5.05
Darkish Pink
#DA467D
ΔE00 5.37
Palevioletred
#DB7093
ΔE00 5.51
Muted Pink
#D1768F
ΔE00 6.71
Pale Magenta
#D767AD
ΔE00 6.80
Medium Pink
#F36196
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD5F8D #5FCD9F
analogous
#CD5FC4 #CD5F8D #CD685F
triadic
#CD5F8D #8DCD5F #5F8DCD
tetradic
#CD5F8D #C4CD5F #5FCD9F #685FCD
square
#CD5F8D #C4CD5F #5FCD9F #685FCD
split-complementary
#CD5F8D #5FCD68 #5FC4CD
monochromatic
#872A51 #B6396D #CD5F8D #DC8EAE #EABCCF
Accessibility & contrast
On white
3.74
#CD5F8D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#CD5F8D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD5F8D
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD5F8D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD5F8D | 1.00 | 3.74 | 5.62 | 5.62 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F788E
Deuteranopia (green-blind)
#8C8C8A
Tritanopia (blue-blind)
#DB5870
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #cd5f8d; /* rgb */ color: rgb(205, 95, 141); /* oklch */ color: oklch(63.3% 0.148 355.9);
Tailwind
colors: {
custom: {
50: '#df90ae',
500: '#cd5f8d',
950: '#000000',
},
}SCSS
$custom: #cd5f8d; $custom-light: #df90ae; $custom-dark: #000000;
JSON
{
"hex": "#cd5f8d",
"rgb": {
"r": 205,
"g": 95,
"b": 141
},
"hsl": {
"h": 334.909,
"s": 52.381,
"l": 58.824
},
"oklch": {
"l": 0.63272,
"c": 0.14755,
"h": 355.9
},
"luminance": 0.23087
}Semantic roles & 50–950 ramp
primary
#CD5F8D
secondary
#AEDAC7
accent
#DCA04C
background
#FEF9FA
surface
#FCF1F4
border
#D5CBCE
text
#160D10
muted
#847E7F