#CC45B2#CC45B2
#CC45B2 is a mid, highly saturated pink. Relative luminance 0.203; OKLCH L 61.5% C 0.207 H 336.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #CC45B2 |
|---|---|
| RGB | rgb(204, 69, 178) |
| HSL | hsl(312, 57%, 54%) |
| HSV | hsv(312, 66%, 80%) |
| CMYK | cmyk(0%, 66.2%, 12.7%, 20%) |
| CIE-LAB | lab(52.19, 64.70, -30.51) |
| CIE-LCH | lch(52.19, 71.53, 334.76°) |
| OKLab | oklab(61.5% 0.1895 -0.0829) |
| OKLCH | oklch(61.5% 0.207 336.4) |
| XYZ | xyz(35.0663, 20.3110, 44.1844) |
| Luminance | 0.2031 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 2.51
Purpley Pink
#C83CB9
ΔE00 2.63
Purpleish Pink
#DF4EC8
ΔE00 5.18
Purplish Pink
#CE5DAE
ΔE00 5.20
Pinkish Purple
#D648D7
ΔE00 6.14
Hot Magenta
#F504C9
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC45B2 #45CC5F
analogous
#A345CC #CC45B2 #CC456E
triadic
#CC45B2 #B2CC45 #45B2CC
tetradic
#CC45B2 #CCA345 #45CC5F #456ECC
square
#CC45B2 #CCA345 #45CC5F #456ECC
split-complementary
#CC45B2 #6ECC45 #45CCA3
monochromatic
#762066 #A62E8F #CC45B2 #D975C6 #E6A5DA
Accessibility & contrast
On white
4.15
#CC45B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#CC45B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC45B2
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC45B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC45B2 | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#476FB5
Deuteranopia (green-blind)
#7384AF
Tritanopia (blue-blind)
#D64D75
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #cc45b2; /* rgb */ color: rgb(204, 69, 178); /* oklch */ color: oklch(61.5% 0.207 336.4);
Tailwind
colors: {
custom: {
50: '#df83c9',
500: '#cc45b2',
950: '#000000',
},
}SCSS
$custom: #cc45b2; $custom-light: #df83c9; $custom-dark: #000000;
JSON
{
"hex": "#cc45b2",
"rgb": {
"r": 204,
"g": 69,
"b": 178
},
"hsl": {
"h": 311.556,
"s": 56.962,
"l": 53.529
},
"oklch": {
"l": 0.61497,
"c": 0.20688,
"h": 336.4
},
"luminance": 0.20308
}Semantic roles & 50–950 ramp
primary
#CC45B2
secondary
#99D3A5
accent
#E06548
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82