#CC45A4#CC45A4
#CC45A4 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.9% C 0.197 H 341.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #CC45A4 |
|---|---|
| RGB | rgb(204, 69, 164) |
| HSL | hsl(318, 57%, 54%) |
| HSV | hsv(318, 66%, 80%) |
| CMYK | cmyk(0%, 66.2%, 19.6%, 20%) |
| CIE-LAB | lab(51.58, 62.69, -23.24) |
| CIE-LCH | lch(51.58, 66.86, 339.66°) |
| OKLab | oklab(60.86% 0.1873 -0.0623) |
| OKLCH | oklch(60.86% 0.197 341.6) |
| XYZ | xyz(33.7317, 19.7771, 37.1556) |
| Luminance | 0.1977 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.90
Purplish Pink
#CE5DAE
ΔE00 4.92
Pinky Purple
#C94CBE
ΔE00 5.11
Purpleish Pink
#DF4EC8
ΔE00 6.88
Bright Pink
#FE01B1
ΔE00 7.68
Hot Magenta
#F504C9
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC45A4 #45CC6D
analogous
#B045CC #CC45A4 #CC4560
triadic
#CC45A4 #A4CC45 #45A4CC
tetradic
#CC45A4 #CCB045 #45CC6D #4560CC
square
#CC45A4 #CCB045 #45CC6D #4560CC
split-complementary
#CC45A4 #60CC45 #45CCB0
monochromatic
#76205D #A62E82 #CC45A4 #D975BB #E6A5D3
Accessibility & contrast
On white
4.24
#CC45A4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#CC45A4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC45A4
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC45A4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC45A4 | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F6DA7
Deuteranopia (green-blind)
#7883A1
Tritanopia (blue-blind)
#D8476E
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cc45a4; /* rgb */ color: rgb(204, 69, 164); /* oklch */ color: oklch(60.9% 0.197 341.6);
Tailwind
colors: {
custom: {
50: '#df82bf',
500: '#cc45a4',
950: '#000000',
},
}SCSS
$custom: #cc45a4; $custom-light: #df82bf; $custom-dark: #000000;
JSON
{
"hex": "#cc45a4",
"rgb": {
"r": 204,
"g": 69,
"b": 164
},
"hsl": {
"h": 317.778,
"s": 56.962,
"l": 53.529
},
"oklch": {
"l": 0.6086,
"c": 0.1974,
"h": 341.6
},
"luminance": 0.19774
}Semantic roles & 50–950 ramp
primary
#CC45A4
secondary
#99D3AB
accent
#E07548
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81