#CC46AB#CC46AB
#CC46AB is a mid, highly saturated pink. Relative luminance 0.202; OKLCH L 61.3% C 0.201 H 339.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #CC46AB |
|---|---|
| RGB | rgb(204, 70, 171) |
| HSL | hsl(315, 57%, 54%) |
| HSV | hsv(315, 66%, 80%) |
| CMYK | cmyk(0%, 65.7%, 16.2%, 20%) |
| CIE-LAB | lab(52.02, 63.29, -26.68) |
| CIE-LCH | lch(52.02, 68.68, 337.14°) |
| OKLab | oklab(61.27% 0.1874 -0.072) |
| OKLCH | oklch(61.27% 0.201 339) |
| XYZ | xyz(34.4434, 20.1611, 40.5976) |
| Luminance | 0.2016 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 3.76
Purpley Pink
#C83CB9
ΔE00 3.78
Purplish Pink
#CE5DAE
ΔE00 4.71
Purpleish Pink
#DF4EC8
ΔE00 5.85
Hot Magenta
#F504C9
ΔE00 7.00
Pinkish Purple
#D648D7
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC46AB #46CC67
analogous
#AA46CC #CC46AB #CC4668
triadic
#CC46AB #ABCC46 #46ABCC
tetradic
#CC46AB #CCAA46 #46CC67 #4668CC
square
#CC46AB #CCAA46 #46CC67 #4668CC
split-complementary
#CC46AB #68CC46 #46CCAA
monochromatic
#772162 #A72E89 #CC46AB #D976C1 #E6A6D7
Accessibility & contrast
On white
4.17
#CC46AB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#CC46AB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC46AB
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC46AB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC46AB | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C6FAE
Deuteranopia (green-blind)
#7684A8
Tritanopia (blue-blind)
#D74B72
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #cc46ab; /* rgb */ color: rgb(204, 70, 171); /* oklch */ color: oklch(61.3% 0.201 339.0);
Tailwind
colors: {
custom: {
50: '#df83c4',
500: '#cc46ab',
950: '#000000',
},
}SCSS
$custom: #cc46ab; $custom-light: #df83c4; $custom-dark: #000000;
JSON
{
"hex": "#cc46ab",
"rgb": {
"r": 204,
"g": 70,
"b": 171
},
"hsl": {
"h": 314.776,
"s": 56.78,
"l": 53.725
},
"oklch": {
"l": 0.61274,
"c": 0.20073,
"h": 339
},
"luminance": 0.20158
}Semantic roles & 50–950 ramp
primary
#CC46AB
secondary
#9AD4A8
accent
#E06D48
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B12
muted
#847C81