#CC4CA2#CC4CA2
#CC4CA2 is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.5% C 0.187 H 342.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #CC4CA2 |
|---|---|
| RGB | rgb(204, 76, 162) |
| HSL | hsl(320, 56%, 55%) |
| HSV | hsv(320, 63%, 80%) |
| CMYK | cmyk(0%, 62.7%, 20.6%, 20%) |
| CIE-LAB | lab(52.53, 59.58, -20.61) |
| CIE-LCH | lch(52.53, 63.05, 340.92°) |
| OKLab | oklab(61.53% 0.1783 -0.055) |
| OKLCH | oklch(61.53% 0.187 342.8) |
| XYZ | xyz(34.0088, 20.6180, 36.3640) |
| Luminance | 0.2061 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.88
Pinky Purple
#C94CBE
ΔE00 5.73
Purpley Pink
#C83CB9
ΔE00 6.10
Pale Magenta
#D767AD
ΔE00 6.60
Purpleish Pink
#DF4EC8
ΔE00 6.90
Bright Pink
#FE01B1
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC4CA2 #4CCC76
analogous
#B64CCC #CC4CA2 #CC4C62
triadic
#CC4CA2 #A2CC4C #4CA2CC
tetradic
#CC4CA2 #CCB64C #4CCC76 #4C62CC
square
#CC4CA2 #CCB64C #4CCC76 #4C62CC
split-complementary
#CC4CA2 #62CC4C #4CCCB6
monochromatic
#7B235E #AA3182 #CC4CA2 #DA7CBB #E7ABD3
Accessibility & contrast
On white
4.10
#CC4CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#CC4CA2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC4CA2
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC4CA2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC4CA2 | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5670A5
Deuteranopia (green-blind)
#7C859F
Tritanopia (blue-blind)
#D84D70
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #cc4ca2; /* rgb */ color: rgb(204, 76, 162); /* oklch */ color: oklch(61.5% 0.187 342.8);
Tailwind
colors: {
custom: {
50: '#df86bd',
500: '#cc4ca2',
950: '#000000',
},
}SCSS
$custom: #cc4ca2; $custom-light: #df86bd; $custom-dark: #000000;
JSON
{
"hex": "#cc4ca2",
"rgb": {
"r": 204,
"g": 76,
"b": 162
},
"hsl": {
"h": 319.688,
"s": 55.652,
"l": 54.902
},
"oklch": {
"l": 0.61526,
"c": 0.18661,
"h": 342.8
},
"luminance": 0.20615
}Semantic roles & 50–950 ramp
primary
#CC4CA2
secondary
#9FD5B1
accent
#DF7A49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81