#CC46B1#CC46B1
#CC46B1 is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.6% C 0.205 H 336.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #CC46B1 |
|---|---|
| RGB | rgb(204, 70, 177) |
| HSL | hsl(312, 57%, 54%) |
| HSV | hsv(312, 66%, 80%) |
| CMYK | cmyk(0%, 65.7%, 13.2%, 20%) |
| CIE-LAB | lab(52.28, 64.16, -29.78) |
| CIE-LCH | lch(52.28, 70.74, 335.11°) |
| OKLab | oklab(61.55% 0.1883 -0.0808) |
| OKLCH | oklch(61.55% 0.205 336.8) |
| XYZ | xyz(35.0283, 20.3950, 43.6782) |
| Luminance | 0.2039 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 2.65
Purpley Pink
#C83CB9
ΔE00 2.89
Purplish Pink
#CE5DAE
ΔE00 4.97
Purpleish Pink
#DF4EC8
ΔE00 5.18
Pinkish Purple
#D648D7
ΔE00 6.29
Hot Magenta
#F504C9
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC46B1 #46CC61
analogous
#A446CC #CC46B1 #CC466E
triadic
#CC46B1 #B1CC46 #46B1CC
tetradic
#CC46B1 #CCA446 #46CC61 #466ECC
square
#CC46B1 #CCA446 #46CC61 #466ECC
split-complementary
#CC46B1 #6ECC46 #46CCA4
monochromatic
#772165 #A72E8E #CC46B1 #D976C5 #E6A6D9
Accessibility & contrast
On white
4.14
#CC46B1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#CC46B1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC46B1
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC46B1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC46B1 | 1.00 | 4.14 | 5.08 | 5.08 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4970B4
Deuteranopia (green-blind)
#7484AE
Tritanopia (blue-blind)
#D64D75
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #cc46b1; /* rgb */ color: rgb(204, 70, 177); /* oklch */ color: oklch(61.6% 0.205 336.8);
Tailwind
colors: {
custom: {
50: '#df83c8',
500: '#cc46b1',
950: '#000000',
},
}SCSS
$custom: #cc46b1; $custom-light: #df83c8; $custom-dark: #000000;
JSON
{
"hex": "#cc46b1",
"rgb": {
"r": 204,
"g": 70,
"b": 177
},
"hsl": {
"h": 312.09,
"s": 56.78,
"l": 53.725
},
"oklch": {
"l": 0.61551,
"c": 0.20489,
"h": 336.8
},
"luminance": 0.20392
}Semantic roles & 50–950 ramp
primary
#CC46B1
secondary
#9AD4A6
accent
#E06648
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82