#CD45A2#CD45A2
#CD45A2 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.9% C 0.197 H 342.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #CD45A2 |
|---|---|
| RGB | rgb(205, 69, 162) |
| HSL | hsl(319, 58%, 54%) |
| HSV | hsv(319, 66%, 80%) |
| CMYK | cmyk(0%, 66.3%, 21%, 19.6%) |
| CIE-LAB | lab(51.66, 62.68, -21.92) |
| CIE-LCH | lch(51.66, 66.40, 340.72°) |
| OKLab | oklab(60.92% 0.1879 -0.0586) |
| OKLCH | oklch(60.92% 0.197 342.7) |
| XYZ | xyz(33.8276, 19.8473, 36.2248) |
| Luminance | 0.1984 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.91
Purpley Pink
#C83CB9
ΔE00 5.41
Pinky Purple
#C94CBE
ΔE00 5.58
Purpleish Pink
#DF4EC8
ΔE00 7.11
Bright Pink
#FE01B1
ΔE00 7.52
Pale Magenta
#D767AD
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD45A2 #45CD70
analogous
#B445CD #CD45A2 #CD455E
triadic
#CD45A2 #A2CD45 #45A2CD
tetradic
#CD45A2 #CDB445 #45CD70 #455ECD
square
#CD45A2 #CDB445 #45CD70 #455ECD
split-complementary
#CD45A2 #5ECD45 #45CDB4
monochromatic
#77205C #A82D81 #CD45A2 #DA75BA #E7A5D2
Accessibility & contrast
On white
4.23
#CD45A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#CD45A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD45A2
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD45A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD45A2 | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#516DA5
Deuteranopia (green-blind)
#7A839F
Tritanopia (blue-blind)
#D9466D
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cd45a2; /* rgb */ color: rgb(205, 69, 162); /* oklch */ color: oklch(60.9% 0.197 342.7);
Tailwind
colors: {
custom: {
50: '#e082bd',
500: '#cd45a2',
950: '#000000',
},
}SCSS
$custom: #cd45a2; $custom-light: #e082bd; $custom-dark: #000000;
JSON
{
"hex": "#cd45a2",
"rgb": {
"r": 205,
"g": 69,
"b": 162
},
"hsl": {
"h": 318.971,
"s": 57.627,
"l": 53.725
},
"oklch": {
"l": 0.60923,
"c": 0.19682,
"h": 342.7
},
"luminance": 0.19844
}Semantic roles & 50–950 ramp
primary
#CD45A2
secondary
#9AD4AC
accent
#E17847
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B12
muted
#847C81