#CC47A2#CC47A2
#CC47A2 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 61.0% C 0.193 H 342.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #CC47A2 |
|---|---|
| RGB | rgb(204, 71, 162) |
| HSL | hsl(319, 57%, 54%) |
| HSV | hsv(319, 65%, 80%) |
| CMYK | cmyk(0%, 65.2%, 20.6%, 20%) |
| CIE-LAB | lab(51.79, 61.63, -21.75) |
| CIE-LCH | lch(51.79, 65.35, 340.56°) |
| OKLab | oklab(60.98% 0.1845 -0.0582) |
| OKLCH | oklch(60.98% 0.193 342.5) |
| XYZ | xyz(33.6777, 19.9557, 36.2536) |
| Luminance | 0.1995 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.68
Purpley Pink
#C83CB9
ΔE00 5.48
Pinky Purple
#C94CBE
ΔE00 5.54
Purpleish Pink
#DF4EC8
ΔE00 7.07
Pale Magenta
#D767AD
ΔE00 7.51
Bright Pink
#FE01B1
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC47A2 #47CC71
analogous
#B447CC #CC47A2 #CC4760
triadic
#CC47A2 #A2CC47 #47A2CC
tetradic
#CC47A2 #CCB447 #47CC71 #4760CC
square
#CC47A2 #CCB447 #47CC71 #4760CC
split-complementary
#CC47A2 #60CC47 #47CCB4
monochromatic
#77215C #A72E81 #CC47A2 #D977BA #E7A7D2
Accessibility & contrast
On white
4.21
#CC47A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#CC47A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC47A2
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC47A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC47A2 | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#526EA5
Deuteranopia (green-blind)
#7A839F
Tritanopia (blue-blind)
#D8486E
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cc47a2; /* rgb */ color: rgb(204, 71, 162); /* oklch */ color: oklch(61.0% 0.193 342.5);
Tailwind
colors: {
custom: {
50: '#df83bd',
500: '#cc47a2',
950: '#000000',
},
}SCSS
$custom: #cc47a2; $custom-light: #df83bd; $custom-dark: #000000;
JSON
{
"hex": "#cc47a2",
"rgb": {
"r": 204,
"g": 71,
"b": 162
},
"hsl": {
"h": 318.947,
"s": 56.596,
"l": 53.922
},
"oklch": {
"l": 0.60982,
"c": 0.19347,
"h": 342.5
},
"luminance": 0.19952
}Semantic roles & 50–950 ramp
primary
#CC47A2
secondary
#9BD4AD
accent
#E07848
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B12
muted
#847C81