#CD4D7B#CD4D7B
#CD4D7B is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.4% C 0.167 H 1.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #CD4D7B |
|---|---|
| RGB | rgb(205, 77, 123) |
| HSL | hsl(338, 56%, 55%) |
| HSV | hsv(338, 62%, 80%) |
| CMYK | cmyk(0%, 62.4%, 40%, 19.6%) |
| CIE-LAB | lab(51.52, 54.64, 1.07) |
| CIE-LCH | lch(51.52, 54.65, 1.12°) |
| OKLab | oklab(60.38% 0.1669 0.0034) |
| OKLCH | oklch(60.38% 0.167 1.2) |
| XYZ | xyz(31.4079, 19.7206, 20.8875) |
| Luminance | 0.1972 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 2.27
Dark Pink
#CB416B
ΔE00 3.89
Deep Rose
#C74767
ΔE00 4.90
Blush
#DE5D83
ΔE00 5.62
Cherry
#DE3163
ΔE00 6.73
Rose (survey)
#CF6275
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD4D7B #4DCD9F
analogous
#CD4DBB #CD4D7B #CD5F4D
triadic
#CD4D7B #7BCD4D #4D7BCD
tetradic
#CD4D7B #BBCD4D #4DCD9F #5F4DCD
square
#CD4D7B #BBCD4D #4DCD9F #5F4DCD
split-complementary
#CD4D7B #4DCD5F #4DBBCD
monochromatic
#7D2343 #AC305D #CD4D7B #DA7D9E #E8ADC2
Accessibility & contrast
On white
4.25
#CD4D7B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#CD4D7B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD4D7B
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD4D7B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD4D7B | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#656B7C
Deuteranopia (green-blind)
#878478
Tritanopia (blue-blind)
#DD3F5F
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cd4d7b; /* rgb */ color: rgb(205, 77, 123); /* oklch */ color: oklch(60.4% 0.167 1.2);
Tailwind
colors: {
custom: {
50: '#e185a1',
500: '#cd4d7b',
950: '#000000',
},
}SCSS
$custom: #cd4d7b; $custom-light: #e185a1; $custom-dark: #000000;
JSON
{
"hex": "#cd4d7b",
"rgb": {
"r": 205,
"g": 77,
"b": 123
},
"hsl": {
"h": 338.438,
"s": 56.14,
"l": 55.294
},
"oklch": {
"l": 0.60377,
"c": 0.16696,
"h": 1.2
},
"luminance": 0.19717
}Semantic roles & 50–950 ramp
primary
#CD4D7B
secondary
#A0D6C2
accent
#DFA948
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E