#CD45A1#CD45A1
#CD45A1 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.9% C 0.196 H 343.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #CD45A1 |
|---|---|
| RGB | rgb(205, 69, 161) |
| HSL | hsl(319, 58%, 54%) |
| HSV | hsv(319, 66%, 80%) |
| CMYK | cmyk(0%, 66.3%, 21.5%, 19.6%) |
| CIE-LAB | lab(51.62, 62.54, -21.39) |
| CIE-LCH | lch(51.62, 66.10, 341.12°) |
| OKLab | oklab(60.88% 0.1877 -0.0572) |
| OKLCH | oklch(60.88% 0.196 343.1) |
| XYZ | xyz(33.7391, 19.8119, 35.7585) |
| Luminance | 0.1981 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.97
Purpley Pink
#C83CB9
ΔE00 5.60
Pinky Purple
#C94CBE
ΔE00 5.78
Purpleish Pink
#DF4EC8
ΔE00 7.27
Bright Pink
#FE01B1
ΔE00 7.54
Pale Magenta
#D767AD
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD45A1 #45CD71
analogous
#B545CD #CD45A1 #CD455D
triadic
#CD45A1 #A1CD45 #45A1CD
tetradic
#CD45A1 #CDB545 #45CD71 #455DCD
square
#CD45A1 #CDB545 #45CD71 #455DCD
split-complementary
#CD45A1 #5DCD45 #45CDB5
monochromatic
#77205B #A82D80 #CD45A1 #DA75B9 #E7A5D2
Accessibility & contrast
On white
4.23
#CD45A1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#CD45A1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD45A1
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD45A1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD45A1 | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#516DA4
Deuteranopia (green-blind)
#7A839E
Tritanopia (blue-blind)
#DA456D
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cd45a1; /* rgb */ color: rgb(205, 69, 161); /* oklch */ color: oklch(60.9% 0.196 343.1);
Tailwind
colors: {
custom: {
50: '#e082bd',
500: '#cd45a1',
950: '#000000',
},
}SCSS
$custom: #cd45a1; $custom-light: #e082bd; $custom-dark: #000000;
JSON
{
"hex": "#cd45a1",
"rgb": {
"r": 205,
"g": 69,
"b": 161
},
"hsl": {
"h": 319.412,
"s": 57.627,
"l": 53.725
},
"oklch": {
"l": 0.6088,
"c": 0.19619,
"h": 343.1
},
"luminance": 0.19809
}Semantic roles & 50–950 ramp
primary
#CD45A1
secondary
#9AD4AD
accent
#E17947
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81