#CC3FAB#CC3FAB
#CC3FAB is a mid, highly saturated pink. Relative luminance 0.193; OKLCH L 60.6% C 0.210 H 338.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #CC3FAB |
|---|---|
| RGB | rgb(204, 63, 171) |
| HSL | hsl(314, 58%, 52%) |
| HSV | hsv(314, 69%, 80%) |
| CMYK | cmyk(0%, 69.1%, 16.2%, 20%) |
| CIE-LAB | lab(51.08, 65.91, -28.14) |
| CIE-LCH | lch(51.08, 71.67, 336.89°) |
| OKLab | oklab(60.59% 0.1952 -0.0761) |
| OKLCH | oklch(60.59% 0.21 338.7) |
| XYZ | xyz(34.0308, 19.3358, 40.4601) |
| Luminance | 0.1933 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.11
Pinky Purple
#C94CBE
ΔE00 3.98
Purplish Pink
#CE5DAE
ΔE00 5.89
Purpleish Pink
#DF4EC8
ΔE00 6.46
Hot Magenta
#F504C9
ΔE00 6.99
Pinkish Purple
#D648D7
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC3FAB #3FCC60
analogous
#A73FCC #CC3FAB #CC3F64
triadic
#CC3FAB #ABCC3F #3FABCC
tetradic
#CC3FAB #CCA73F #3FCC60 #3F64CC
square
#CC3FAB #CCA73F #3FCC60 #3F64CC
split-complementary
#CC3FAB #64CC3F #3FCCA7
monochromatic
#721E5F #A32B87 #CC3FAB #D96FC0 #E6A0D5
Accessibility & contrast
On white
4.32
#CC3FAB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#CC3FAB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC3FAB
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC3FAB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC3FAB | 1.00 | 4.32 | 4.87 | 4.87 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#466CAE
Deuteranopia (green-blind)
#7382A8
Tritanopia (blue-blind)
#D74570
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #cc3fab; /* rgb */ color: rgb(204, 63, 171); /* oklch */ color: oklch(60.6% 0.210 338.7);
Tailwind
colors: {
custom: {
50: '#df7fc4',
500: '#cc3fab',
950: '#000000',
},
}SCSS
$custom: #cc3fab; $custom-light: #df7fc4; $custom-dark: #000000;
JSON
{
"hex": "#cc3fab",
"rgb": {
"r": 204,
"g": 63,
"b": 171
},
"hsl": {
"h": 314.043,
"s": 58.025,
"l": 52.353
},
"oklch": {
"l": 0.60589,
"c": 0.20955,
"h": 338.7
},
"luminance": 0.19333
}Semantic roles & 50–950 ramp
primary
#CC3FAB
secondary
#95D2A3
accent
#E16B47
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81