#CC46B2#CC46B2
#CC46B2 is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.6% C 0.206 H 336.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #CC46B2 |
|---|---|
| RGB | rgb(204, 70, 178) |
| HSL | hsl(312, 57%, 54%) |
| HSV | hsv(312, 66%, 80%) |
| CMYK | cmyk(0%, 65.7%, 12.7%, 20%) |
| CIE-LAB | lab(52.33, 64.31, -30.29) |
| CIE-LCH | lch(52.33, 71.09, 334.78°) |
| OKLab | oklab(61.6% 0.1884 -0.0823) |
| OKLCH | oklch(61.6% 0.206 336.4) |
| XYZ | xyz(35.1284, 20.4350, 44.2051) |
| Luminance | 0.2043 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 2.47
Purpley Pink
#C83CB9
ΔE00 2.77
Purplish Pink
#CE5DAE
ΔE00 5.03
Purpleish Pink
#DF4EC8
ΔE00 5.08
Pinkish Purple
#D648D7
ΔE00 6.12
Hot Magenta
#F504C9
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC46B2 #46CC60
analogous
#A346CC #CC46B2 #CC466F
triadic
#CC46B2 #B2CC46 #46B2CC
tetradic
#CC46B2 #CCA346 #46CC60 #466FCC
square
#CC46B2 #CCA346 #46CC60 #466FCC
split-complementary
#CC46B2 #6FCC46 #46CCA3
monochromatic
#772166 #A72E8F #CC46B2 #D976C6 #E6A6DA
Accessibility & contrast
On white
4.13
#CC46B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#CC46B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC46B2
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC46B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC46B2 | 1.00 | 4.13 | 5.09 | 5.09 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4870B5
Deuteranopia (green-blind)
#7384AF
Tritanopia (blue-blind)
#D64E76
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #cc46b2; /* rgb */ color: rgb(204, 70, 178); /* oklch */ color: oklch(61.6% 0.206 336.4);
Tailwind
colors: {
custom: {
50: '#df83c9',
500: '#cc46b2',
950: '#000000',
},
}SCSS
$custom: #cc46b2; $custom-light: #df83c9; $custom-dark: #000000;
JSON
{
"hex": "#cc46b2",
"rgb": {
"r": 204,
"g": 70,
"b": 178
},
"hsl": {
"h": 311.642,
"s": 56.78,
"l": 53.725
},
"oklch": {
"l": 0.61598,
"c": 0.2056,
"h": 336.4
},
"luminance": 0.20432
}Semantic roles & 50–950 ramp
primary
#CC46B2
secondary
#9AD4A5
accent
#E06548
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82