#CC46A2#CC46A2
#CC46A2 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.9% C 0.195 H 342.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #CC46A2 |
|---|---|
| RGB | rgb(204, 70, 162) |
| HSL | hsl(319, 57%, 54%) |
| HSV | hsv(319, 66%, 80%) |
| CMYK | cmyk(0%, 65.7%, 20.6%, 20%) |
| CIE-LAB | lab(51.64, 62.02, -21.97) |
| CIE-LCH | lch(51.64, 65.80, 340.50°) |
| OKLab | oklab(60.88% 0.1857 -0.0588) |
| OKLCH | oklch(60.88% 0.195 342.4) |
| XYZ | xyz(33.6146, 19.8295, 36.2326) |
| Luminance | 0.1983 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.84
Purpley Pink
#C83CB9
ΔE00 5.38
Pinky Purple
#C94CBE
ΔE00 5.52
Purpleish Pink
#DF4EC8
ΔE00 7.12
Bright Pink
#FE01B1
ΔE00 7.68
Pale Magenta
#D767AD
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC46A2 #46CC70
analogous
#B346CC #CC46A2 #CC465F
triadic
#CC46A2 #A2CC46 #46A2CC
tetradic
#CC46A2 #CCB346 #46CC70 #465FCC
square
#CC46A2 #CCB346 #46CC70 #465FCC
split-complementary
#CC46A2 #5FCC46 #46CCB3
monochromatic
#77215C #A72E81 #CC46A2 #D976BA #E6A6D2
Accessibility & contrast
On white
4.23
#CC46A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#CC46A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC46A2
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC46A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC46A2 | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#516DA5
Deuteranopia (green-blind)
#79839F
Tritanopia (blue-blind)
#D8476E
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cc46a2; /* rgb */ color: rgb(204, 70, 162); /* oklch */ color: oklch(60.9% 0.195 342.4);
Tailwind
colors: {
custom: {
50: '#df83bd',
500: '#cc46a2',
950: '#000000',
},
}SCSS
$custom: #cc46a2; $custom-light: #df83bd; $custom-dark: #000000;
JSON
{
"hex": "#cc46a2",
"rgb": {
"r": 204,
"g": 70,
"b": 162
},
"hsl": {
"h": 318.806,
"s": 56.78,
"l": 53.725
},
"oklch": {
"l": 0.60877,
"c": 0.19479,
"h": 342.4
},
"luminance": 0.19826
}Semantic roles & 50–950 ramp
primary
#CC46A2
secondary
#9AD4AC
accent
#E07748
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B12
muted
#847C81