#CC47A5#CC47A5
#CC47A5 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.1% C 0.195 H 341.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #CC47A5 |
|---|---|
| RGB | rgb(204, 71, 165) |
| HSL | hsl(318, 57%, 54%) |
| HSV | hsv(318, 65%, 80%) |
| CMYK | cmyk(0%, 65.2%, 19.1%, 20%) |
| CIE-LAB | lab(51.91, 62.04, -23.32) |
| CIE-LCH | lch(51.91, 66.28, 339.40°) |
| OKLab | oklab(61.11% 0.1851 -0.0626) |
| OKLCH | oklch(61.11% 0.195 341.3) |
| XYZ | xyz(33.9475, 20.0636, 37.6748) |
| Luminance | 0.2006 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.55
Purpley Pink
#C83CB9
ΔE00 4.93
Pinky Purple
#C94CBE
ΔE00 4.93
Purpleish Pink
#DF4EC8
ΔE00 6.61
Pale Magenta
#D767AD
ΔE00 7.56
Bright Pink
#FE01B1
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC47A5 #47CC6E
analogous
#B147CC #CC47A5 #CC4763
triadic
#CC47A5 #A5CC47 #47A5CC
tetradic
#CC47A5 #CCB147 #47CC6E #4763CC
square
#CC47A5 #CCB147 #47CC6E #4763CC
split-complementary
#CC47A5 #63CC47 #47CCB1
monochromatic
#77215E #A72E84 #CC47A5 #D977BC #E7A7D4
Accessibility & contrast
On white
4.19
#CC47A5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#CC47A5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC47A5
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC47A5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC47A5 | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#506EA8
Deuteranopia (green-blind)
#7984A2
Tritanopia (blue-blind)
#D84970
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #cc47a5; /* rgb */ color: rgb(204, 71, 165); /* oklch */ color: oklch(61.1% 0.195 341.3);
Tailwind
colors: {
custom: {
50: '#df83c0',
500: '#cc47a5',
950: '#000000',
},
}SCSS
$custom: #cc47a5; $custom-light: #df83c0; $custom-dark: #000000;
JSON
{
"hex": "#cc47a5",
"rgb": {
"r": 204,
"g": 71,
"b": 165
},
"hsl": {
"h": 317.594,
"s": 56.596,
"l": 53.922
},
"oklch": {
"l": 0.61111,
"c": 0.1954,
"h": 341.3
},
"luminance": 0.2006
}Semantic roles & 50–950 ramp
primary
#CC47A5
secondary
#9BD4AC
accent
#E07448
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81