#CD5087#CD5087
#CD5087 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.1% C 0.167 H 355.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #CD5087 |
|---|---|
| RGB | rgb(205, 80, 135) |
| HSL | hsl(334, 56%, 56%) |
| HSV | hsv(334, 61%, 80%) |
| CMYK | cmyk(0%, 61%, 34.1%, 19.6%) |
| CIE-LAB | lab(52.36, 54.68, -4.86) |
| CIE-LCH | lch(52.36, 54.90, 354.92°) |
| OKLab | oklab(61.12% 0.1668 -0.0121) |
| OKLCH | oklch(61.12% 0.167 355.8) |
| XYZ | xyz(32.4204, 20.4692, 25.1606) |
| Luminance | 0.2047 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.69
Blush
#DE5D83
ΔE00 6.43
Dark Pink
#CB416B
ΔE00 6.61
Deep Rose
#C74767
ΔE00 7.75
Deeppink
#FF1493
ΔE00 8.01
Hot Pink (survey)
#FF028D
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD5087 #50CD96
analogous
#CD50C5 #CD5087 #CD5750
triadic
#CD5087 #87CD50 #5087CD
tetradic
#CD5087 #C5CD50 #50CD96 #5750CD
square
#CD5087 #C5CD50 #50CD96 #5750CD
split-complementary
#CD5087 #50CD57 #50C5CD
monochromatic
#7E244C #AE3268 #CD5087 #DB80A8 #E8AFC8
Accessibility & contrast
On white
4.12
#CD5087 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#CD5087 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD5087
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD5087 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD5087 | 1.00 | 4.12 | 5.09 | 5.09 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#646E89
Deuteranopia (green-blind)
#868584
Tritanopia (blue-blind)
#DC4766
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #cd5087; /* rgb */ color: rgb(205, 80, 135); /* oklch */ color: oklch(61.1% 0.167 355.8);
Tailwind
colors: {
custom: {
50: '#e087a9',
500: '#cd5087',
950: '#000000',
},
}SCSS
$custom: #cd5087; $custom-light: #e087a9; $custom-dark: #000000;
JSON
{
"hex": "#cd5087",
"rgb": {
"r": 205,
"g": 80,
"b": 135
},
"hsl": {
"h": 333.6,
"s": 55.556,
"l": 55.882
},
"oklch": {
"l": 0.61122,
"c": 0.16722,
"h": 355.8
},
"luminance": 0.20466
}Semantic roles & 50–950 ramp
primary
#CD5087
secondary
#A2D6C0
accent
#DF9D49
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F