#CD45A5#CD45A5
#CD45A5 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 61.1% C 0.199 H 341.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #CD45A5 |
|---|---|
| RGB | rgb(205, 69, 165) |
| HSL | hsl(318, 58%, 54%) |
| HSV | hsv(318, 66%, 80%) |
| CMYK | cmyk(0%, 66.3%, 19.5%, 19.6%) |
| CIE-LAB | lab(51.79, 63.09, -23.50) |
| CIE-LCH | lch(51.79, 67.33, 339.57°) |
| OKLab | oklab(61.05% 0.1885 -0.0631) |
| OKLCH | oklch(61.05% 0.199 341.5) |
| XYZ | xyz(34.0974, 19.9552, 37.6460) |
| Luminance | 0.1995 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.79
Purpley Pink
#C83CB9
ΔE00 4.85
Pinky Purple
#C94CBE
ΔE00 4.99
Purpleish Pink
#DF4EC8
ΔE00 6.65
Bright Pink
#FE01B1
ΔE00 7.50
Hot Magenta
#F504C9
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD45A5 #45CD6D
analogous
#B145CD #CD45A5 #CD4561
triadic
#CD45A5 #A5CD45 #45A5CD
tetradic
#CD45A5 #CDB145 #45CD6D #4561CD
square
#CD45A5 #CDB145 #45CD6D #4561CD
split-complementary
#CD45A5 #61CD45 #45CDB1
monochromatic
#77205E #A82D84 #CD45A5 #DA75BC #E7A5D4
Accessibility & contrast
On white
4.21
#CD45A5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#CD45A5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD45A5
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD45A5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD45A5 | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F6DA8
Deuteranopia (green-blind)
#7984A2
Tritanopia (blue-blind)
#D9476F
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cd45a5; /* rgb */ color: rgb(205, 69, 165); /* oklch */ color: oklch(61.1% 0.199 341.5);
Tailwind
colors: {
custom: {
50: '#e082c0',
500: '#cd45a5',
950: '#000000',
},
}SCSS
$custom: #cd45a5; $custom-light: #e082c0; $custom-dark: #000000;
JSON
{
"hex": "#cd45a5",
"rgb": {
"r": 205,
"g": 69,
"b": 165
},
"hsl": {
"h": 317.647,
"s": 57.627,
"l": 53.725
},
"oklch": {
"l": 0.61053,
"c": 0.19873,
"h": 341.5
},
"luminance": 0.19952
}Semantic roles & 50–950 ramp
primary
#CD45A5
secondary
#9AD4AB
accent
#E17447
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81