#CC3BAC#CC3BAC
#CC3BAC is a mid, highly saturated pink. Relative luminance 0.189; OKLCH L 60.3% C 0.215 H 338.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #CC3BAC |
|---|---|
| RGB | rgb(204, 59, 172) |
| HSL | hsl(313, 59%, 52%) |
| HSV | hsv(313, 71%, 80%) |
| CMYK | cmyk(0%, 71.1%, 15.7%, 20%) |
| CIE-LAB | lab(50.63, 67.46, -29.43) |
| CIE-LCH | lch(50.63, 73.59, 336.43°) |
| OKLab | oklab(60.28% 0.1996 -0.0798) |
| OKLCH | oklch(60.28% 0.215 338.2) |
| XYZ | xyz(33.9129, 18.9470, 40.8928) |
| Luminance | 0.1894 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.72
Pinky Purple
#C94CBE
ΔE00 4.08
Purplish Pink
#CE5DAE
ΔE00 6.54
Purpleish Pink
#DF4EC8
ΔE00 6.76
Hot Magenta
#F504C9
ΔE00 6.99
Pinkish Purple
#D648D7
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC3BAC #3BCC5B
analogous
#A33BCC #CC3BAC #CC3B64
triadic
#CC3BAC #ACCC3B #3BACCC
tetradic
#CC3BAC #CCA33B #3BCC5B #3B64CC
square
#CC3BAC #CCA33B #3BCC5B #3B64CC
split-complementary
#CC3BAC #64CC3B #3BCCA3
monochromatic
#701D5D #A02A86 #CC3BAC #D96CC1 #E59CD5
Accessibility & contrast
On white
4.39
#CC3BAC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#CC3BAC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC3BAC
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC3BAC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC3BAC | 1.00 | 4.39 | 4.79 | 4.79 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#416AAF
Deuteranopia (green-blind)
#7181A9
Tritanopia (blue-blind)
#D7426F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #cc3bac; /* rgb */ color: rgb(204, 59, 172); /* oklch */ color: oklch(60.3% 0.215 338.2);
Tailwind
colors: {
custom: {
50: '#df7ec5',
500: '#cc3bac',
950: '#000000',
},
}SCSS
$custom: #cc3bac; $custom-light: #df7ec5; $custom-dark: #000000;
JSON
{
"hex": "#cc3bac",
"rgb": {
"r": 204,
"g": 59,
"b": 172
},
"hsl": {
"h": 313.241,
"s": 58.704,
"l": 51.569
},
"oklch": {
"l": 0.60275,
"c": 0.21492,
"h": 338.2
},
"luminance": 0.18944
}Semantic roles & 50–950 ramp
primary
#CC3BAC
secondary
#92D1A0
accent
#E26846
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82