#CD508C#CD508C
#CD508C is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.3% C 0.169 H 353.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #CD508C |
|---|---|
| RGB | rgb(205, 80, 140) |
| HSL | hsl(331, 56%, 56%) |
| HSV | hsv(331, 61%, 80%) |
| CMYK | cmyk(0%, 61%, 31.7%, 19.6%) |
| CIE-LAB | lab(52.52, 55.28, -7.60) |
| CIE-LCH | lch(52.52, 55.80, 352.18°) |
| OKLab | oklab(61.29% 0.1683 -0.0194) |
| OKLCH | oklch(61.29% 0.169 353.4) |
| XYZ | xyz(32.7807, 20.6133, 27.0583) |
| Luminance | 0.2061 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.71
Purplish Pink
#CE5DAE
ΔE00 7.27
Blush
#DE5D83
ΔE00 7.27
Pale Magenta
#D767AD
ΔE00 7.59
Dark Pink
#CB416B
ΔE00 7.74
Deeppink
#FF1493
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD508C #50CD91
analogous
#CD50CB #CD508C #CD5250
triadic
#CD508C #8CCD50 #508CCD
tetradic
#CD508C #CBCD50 #50CD91 #5250CD
square
#CD508C #CBCD50 #50CD91 #5250CD
split-complementary
#CD508C #50CD52 #50CBCD
monochromatic
#7E244F #AE326D #CD508C #DB80AB #E8AFCB
Accessibility & contrast
On white
4.10
#CD508C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#CD508C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD508C
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD508C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD508C | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#636F8E
Deuteranopia (green-blind)
#858689
Tritanopia (blue-blind)
#DC4868
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #cd508c; /* rgb */ color: rgb(205, 80, 140); /* oklch */ color: oklch(61.3% 0.169 353.4);
Tailwind
colors: {
custom: {
50: '#e087ad',
500: '#cd508c',
950: '#000000',
},
}SCSS
$custom: #cd508c; $custom-light: #e087ad; $custom-dark: #000000;
JSON
{
"hex": "#cd508c",
"rgb": {
"r": 205,
"g": 80,
"b": 140
},
"hsl": {
"h": 331.2,
"s": 55.556,
"l": 55.882
},
"oklch": {
"l": 0.61293,
"c": 0.16944,
"h": 353.4
},
"luminance": 0.2061
}Semantic roles & 50–950 ramp
primary
#CD508C
secondary
#A2D6BD
accent
#DF9749
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F