#CD4E9D#CD4E9D
#CD4E9D is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.7% C 0.181 H 345.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #CD4E9D |
|---|---|
| RGB | rgb(205, 78, 157) |
| HSL | hsl(323, 56%, 55%) |
| HSV | hsv(323, 62%, 80%) |
| CMYK | cmyk(0%, 62%, 23.4%, 19.6%) |
| CIE-LAB | lab(52.80, 58.33, -17.23) |
| CIE-LCH | lch(52.80, 60.83, 343.54°) |
| OKLab | oklab(61.7% 0.1756 -0.0457) |
| OKLCH | oklch(61.7% 0.181 345.4) |
| XYZ | xyz(33.9882, 20.8655, 34.1292) |
| Luminance | 0.2086 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.12
Pale Magenta
#D767AD
ΔE00 6.17
Pinky Purple
#C94CBE
ΔE00 7.01
Purpley Pink
#C83CB9
ΔE00 7.43
Shocking Pink
#FE02A2
ΔE00 7.68
Bright Pink
#FE01B1
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD4E9D #4ECD7E
analogous
#BD4ECD #CD4E9D #CD4E5D
triadic
#CD4E9D #9DCD4E #4E9DCD
tetradic
#CD4E9D #CDBD4E #4ECD7E #4E5DCD
square
#CD4E9D #CDBD4E #4ECD7E #4E5DCD
split-complementary
#CD4E9D #5DCD4E #4ECDBD
monochromatic
#7D235B #AD317E #CD4E9D #DA7EB7 #E8ADD2
Accessibility & contrast
On white
4.06
#CD4E9D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#CD4E9D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD4E9D
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD4E9D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD4E9D | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B709F
Deuteranopia (green-blind)
#7F869A
Tritanopia (blue-blind)
#DA4C6F
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #cd4e9d; /* rgb */ color: rgb(205, 78, 157); /* oklch */ color: oklch(61.7% 0.181 345.4);
Tailwind
colors: {
custom: {
50: '#e087ba',
500: '#cd4e9d',
950: '#000000',
},
}SCSS
$custom: #cd4e9d; $custom-light: #e087ba; $custom-dark: #000000;
JSON
{
"hex": "#cd4e9d",
"rgb": {
"r": 205,
"g": 78,
"b": 157
},
"hsl": {
"h": 322.677,
"s": 55.947,
"l": 55.49
},
"oklch": {
"l": 0.61695,
"c": 0.18145,
"h": 345.4
},
"luminance": 0.20862
}Semantic roles & 50–950 ramp
primary
#CD4E9D
secondary
#A1D6B5
accent
#DF8249
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80