#CD4A87#CD4A87
#CD4A87 is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.4% C 0.176 H 354.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #CD4A87 |
|---|---|
| RGB | rgb(205, 74, 135) |
| HSL | hsl(332, 57%, 55%) |
| HSV | hsv(332, 64%, 80%) |
| CMYK | cmyk(0%, 63.9%, 34.1%, 19.6%) |
| CIE-LAB | lab(51.42, 57.25, -6.27) |
| CIE-LCH | lch(51.42, 57.59, 353.75°) |
| OKLab | oklab(60.42% 0.1748 -0.0158) |
| OKLCH | oklch(60.42% 0.176 354.8) |
| XYZ | xyz(32.0006, 19.6295, 25.0206) |
| Luminance | 0.1963 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.10
Dark Pink
#CB416B
ΔE00 6.66
Blush
#DE5D83
ΔE00 7.56
Electric Pink
#FF0490
ΔE00 7.86
Hot Pink (survey)
#FF028D
ΔE00 7.88
Deeppink
#FF1493
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD4A87 #4ACD90
analogous
#CD4AC9 #CD4A87 #CD4F4A
triadic
#CD4A87 #87CD4A #4A87CD
tetradic
#CD4A87 #C9CD4A #4ACD90 #4F4ACD
square
#CD4A87 #C9CD4A #4ACD90 #4F4ACD
split-complementary
#CD4A87 #4ACD4F #4AC9CD
monochromatic
#7B224B #AB2F69 #CD4A87 #DA7AA7 #E7AAC7
Accessibility & contrast
On white
4.26
#CD4A87 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#CD4A87 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD4A87
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD4A87 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD4A87 | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F6B89
Deuteranopia (green-blind)
#838384
Tritanopia (blue-blind)
#DC4063
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #cd4a87; /* rgb */ color: rgb(205, 74, 135); /* oklch */ color: oklch(60.4% 0.176 354.8);
Tailwind
colors: {
custom: {
50: '#e084a9',
500: '#cd4a87',
950: '#000000',
},
}SCSS
$custom: #cd4a87; $custom-light: #e084a9; $custom-dark: #000000;
JSON
{
"hex": "#cd4a87",
"rgb": {
"r": 205,
"g": 74,
"b": 135
},
"hsl": {
"h": 332.061,
"s": 56.71,
"l": 54.706
},
"oklch": {
"l": 0.60419,
"c": 0.17553,
"h": 354.8
},
"luminance": 0.19626
}Semantic roles & 50–950 ramp
primary
#CD4A87
secondary
#9ED5BB
accent
#E09948
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F