#CC3BAB#CC3BAB
#CC3BAB is a mid, highly saturated pink. Relative luminance 0.189; OKLCH L 60.2% C 0.214 H 338.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #CC3BAB |
|---|---|
| RGB | rgb(204, 59, 171) |
| HSL | hsl(314, 59%, 52%) |
| HSV | hsv(314, 71%, 80%) |
| CMYK | cmyk(0%, 71.1%, 16.2%, 20%) |
| CIE-LAB | lab(50.58, 67.32, -28.91) |
| CIE-LCH | lch(50.58, 73.26, 336.76°) |
| OKLab | oklab(60.23% 0.1994 -0.0783) |
| OKLCH | oklch(60.23% 0.214 338.6) |
| XYZ | xyz(33.8172, 18.9087, 40.3889) |
| Luminance | 0.1891 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.90
Pinky Purple
#C94CBE
ΔE00 4.23
Purplish Pink
#CE5DAE
ΔE00 6.52
Purpleish Pink
#DF4EC8
ΔE00 6.85
Hot Magenta
#F504C9
ΔE00 7.07
Ugly Purple
#A442A0
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC3BAB #3BCC5C
analogous
#A53BCC #CC3BAB #CC3B63
triadic
#CC3BAB #ABCC3B #3BABCC
tetradic
#CC3BAB #CCA53B #3BCC5C #3B63CC
square
#CC3BAB #CCA53B #3BCC5C #3B63CC
split-complementary
#CC3BAB #63CC3B #3BCCA5
monochromatic
#701D5D #A02A85 #CC3BAB #D96CC0 #E59CD5
Accessibility & contrast
On white
4.39
#CC3BAB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#CC3BAB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC3BAB
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC3BAB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC3BAB | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#426AAE
Deuteranopia (green-blind)
#7181A8
Tritanopia (blue-blind)
#D7416E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #cc3bab; /* rgb */ color: rgb(204, 59, 171); /* oklch */ color: oklch(60.2% 0.214 338.6);
Tailwind
colors: {
custom: {
50: '#df7ec4',
500: '#cc3bab',
950: '#000000',
},
}SCSS
$custom: #cc3bab; $custom-light: #df7ec4; $custom-dark: #000000;
JSON
{
"hex": "#cc3bab",
"rgb": {
"r": 204,
"g": 59,
"b": 171
},
"hsl": {
"h": 313.655,
"s": 58.704,
"l": 51.569
},
"oklch": {
"l": 0.60228,
"c": 0.21426,
"h": 338.6
},
"luminance": 0.18906
}Semantic roles & 50–950 ramp
primary
#CC3BAB
secondary
#92D1A0
accent
#E26946
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81