#CD508A#CD508A
#CD508A is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.2% C 0.169 H 354.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #CD508A |
|---|---|
| RGB | rgb(205, 80, 138) |
| HSL | hsl(332, 56%, 56%) |
| HSV | hsv(332, 61%, 80%) |
| CMYK | cmyk(0%, 61%, 32.7%, 19.6%) |
| CIE-LAB | lab(52.46, 55.04, -6.50) |
| CIE-LCH | lch(52.46, 55.42, 353.26°) |
| OKLab | oklab(61.22% 0.1677 -0.0165) |
| OKLCH | oklch(61.22% 0.169 354.4) |
| XYZ | xyz(32.6346, 20.5549, 26.2887) |
| Luminance | 0.2055 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.29
Blush
#DE5D83
ΔE00 6.92
Dark Pink
#CB416B
ΔE00 7.28
Purplish Pink
#CE5DAE
ΔE00 7.72
Pale Magenta
#D767AD
ΔE00 7.91
Deeppink
#FF1493
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD508A #50CD93
analogous
#CD50C9 #CD508A #CD5450
triadic
#CD508A #8ACD50 #508ACD
tetradic
#CD508A #C9CD50 #50CD93 #5450CD
square
#CD508A #C9CD50 #50CD93 #5450CD
split-complementary
#CD508A #50CD54 #50C9CD
monochromatic
#7E244E #AE326B #CD508A #DB80AA #E8AFCA
Accessibility & contrast
On white
4.11
#CD508A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#CD508A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD508A
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD508A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD508A | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#636F8C
Deuteranopia (green-blind)
#858687
Tritanopia (blue-blind)
#DC4867
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #cd508a; /* rgb */ color: rgb(205, 80, 138); /* oklch */ color: oklch(61.2% 0.169 354.4);
Tailwind
colors: {
custom: {
50: '#e087ac',
500: '#cd508a',
950: '#000000',
},
}SCSS
$custom: #cd508a; $custom-light: #e087ac; $custom-dark: #000000;
JSON
{
"hex": "#cd508a",
"rgb": {
"r": 205,
"g": 80,
"b": 138
},
"hsl": {
"h": 332.16,
"s": 55.556,
"l": 55.882
},
"oklch": {
"l": 0.61224,
"c": 0.16853,
"h": 354.4
},
"luminance": 0.20551
}Semantic roles & 50–950 ramp
primary
#CD508A
secondary
#A2D6BE
accent
#DF9949
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F