#CD4E7D#CD4E7D
#CD4E7D is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.6% C 0.166 H 0.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #CD4E7D |
|---|---|
| RGB | rgb(205, 78, 125) |
| HSL | hsl(338, 56%, 55%) |
| HSV | hsv(338, 62%, 80%) |
| CMYK | cmyk(0%, 62%, 39%, 19.6%) |
| CIE-LAB | lab(51.74, 54.42, 0.19) |
| CIE-LCH | lch(51.74, 54.42, 0.20°) |
| OKLab | oklab(60.56% 0.1662 0.0012) |
| OKLCH | oklch(60.56% 0.166 0.4) |
| XYZ | xyz(31.6049, 19.9122, 21.5771) |
| Luminance | 0.1991 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 2.33
Dark Pink
#CB416B
ΔE00 4.35
Deep Rose
#C74767
ΔE00 5.37
Blush
#DE5D83
ΔE00 5.57
Cherry
#DE3163
ΔE00 7.16
Rose (survey)
#CF6275
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD4E7D #4ECD9E
analogous
#CD4EBD #CD4E7D #CD5E4E
triadic
#CD4E7D #7DCD4E #4E7DCD
tetradic
#CD4E7D #BDCD4E #4ECD9E #5E4ECD
square
#CD4E7D #BDCD4E #4ECD9E #5E4ECD
split-complementary
#CD4E7D #4ECD5E #4EBDCD
monochromatic
#7D2345 #AD315F #CD4E7D #DA7EA0 #E8ADC3
Accessibility & contrast
On white
4.22
#CD4E7D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#CD4E7D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD4E7D
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD4E7D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD4E7D | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#656C7E
Deuteranopia (green-blind)
#87847A
Tritanopia (blue-blind)
#DD4160
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cd4e7d; /* rgb */ color: rgb(205, 78, 125); /* oklch */ color: oklch(60.6% 0.166 0.4);
Tailwind
colors: {
custom: {
50: '#e186a2',
500: '#cd4e7d',
950: '#000000',
},
}SCSS
$custom: #cd4e7d; $custom-light: #e186a2; $custom-dark: #000000;
JSON
{
"hex": "#cd4e7d",
"rgb": {
"r": 205,
"g": 78,
"b": 125
},
"hsl": {
"h": 337.795,
"s": 55.947,
"l": 55.49
},
"oklch": {
"l": 0.60558,
"c": 0.16624,
"h": 0.4
},
"luminance": 0.19909
}Semantic roles & 50–950 ramp
primary
#CD4E7D
secondary
#A1D6C2
accent
#DFA749
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E