#CC45B3#CC45B3
#CC45B3 is a mid, highly saturated pink. Relative luminance 0.203; OKLCH L 61.5% C 0.208 H 336.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #CC45B3 |
|---|---|
| RGB | rgb(204, 69, 179) |
| HSL | hsl(311, 57%, 54%) |
| HSV | hsv(311, 66%, 80%) |
| CMYK | cmyk(0%, 66.2%, 12.3%, 20%) |
| CIE-LAB | lab(52.23, 64.85, -31.02) |
| CIE-LCH | lch(52.23, 71.88, 334.44°) |
| OKLab | oklab(61.54% 0.1897 -0.0844) |
| OKLCH | oklch(61.54% 0.208 336) |
| XYZ | xyz(35.1671, 20.3513, 44.7151) |
| Luminance | 0.2035 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 2.34
Purpley Pink
#C83CB9
ΔE00 2.51
Purpleish Pink
#DF4EC8
ΔE00 5.09
Purplish Pink
#CE5DAE
ΔE00 5.27
Pinkish Purple
#D648D7
ΔE00 5.97
Hot Magenta
#F504C9
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC45B3 #45CC5E
analogous
#A145CC #CC45B3 #CC456F
triadic
#CC45B3 #B3CC45 #45B3CC
tetradic
#CC45B3 #CCA145 #45CC5E #456FCC
square
#CC45B3 #CCA145 #45CC5E #456FCC
split-complementary
#CC45B3 #6FCC45 #45CCA1
monochromatic
#762066 #A62E90 #CC45B3 #D975C7 #E6A5DA
Accessibility & contrast
On white
4.14
#CC45B3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#CC45B3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC45B3
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC45B3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC45B3 | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4770B6
Deuteranopia (green-blind)
#7384B0
Tritanopia (blue-blind)
#D64D76
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #cc45b3; /* rgb */ color: rgb(204, 69, 179); /* oklch */ color: oklch(61.5% 0.208 336.0);
Tailwind
colors: {
custom: {
50: '#df83ca',
500: '#cc45b3',
950: '#000000',
},
}SCSS
$custom: #cc45b3; $custom-light: #df83ca; $custom-dark: #000000;
JSON
{
"hex": "#cc45b3",
"rgb": {
"r": 204,
"g": 69,
"b": 179
},
"hsl": {
"h": 311.111,
"s": 56.962,
"l": 53.529
},
"oklch": {
"l": 0.61544,
"c": 0.2076,
"h": 336
},
"luminance": 0.20348
}Semantic roles & 50–950 ramp
primary
#CC45B3
secondary
#99D3A4
accent
#E06448
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82