#CC4EA2#CC4EA2
#CC4EA2 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.8% C 0.184 H 343.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #CC4EA2 |
|---|---|
| RGB | rgb(204, 78, 162) |
| HSL | hsl(320, 55%, 55%) |
| HSV | hsv(320, 62%, 80%) |
| CMYK | cmyk(0%, 61.8%, 20.6%, 20%) |
| CIE-LAB | lab(52.84, 58.74, -20.13) |
| CIE-LCH | lch(52.84, 62.09, 341.08°) |
| OKLab | oklab(61.75% 0.1758 -0.0537) |
| OKLCH | oklch(61.75% 0.184 343) |
| XYZ | xyz(34.1488, 20.8979, 36.4106) |
| Luminance | 0.2089 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.57
Pinky Purple
#C94CBE
ΔE00 5.85
Pale Magenta
#D767AD
ΔE00 6.22
Purpley Pink
#C83CB9
ΔE00 6.38
Purpleish Pink
#DF4EC8
ΔE00 6.87
Bright Pink
#FE01B1
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC4EA2 #4ECC78
analogous
#B74ECC #CC4EA2 #CC4E63
triadic
#CC4EA2 #A2CC4E #4EA2CC
tetradic
#CC4EA2 #CCB74E #4ECC78 #4E63CC
square
#CC4EA2 #CCB74E #4ECC78 #4E63CC
split-complementary
#CC4EA2 #63CC4E #4ECCB7
monochromatic
#7C245E #AB3183 #CC4EA2 #DA7EBB #E7ADD4
Accessibility & contrast
On white
4.05
#CC4EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#CC4EA2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC4EA2
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC4EA2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC4EA2 | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5871A5
Deuteranopia (green-blind)
#7D869F
Tritanopia (blue-blind)
#D84E71
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #cc4ea2; /* rgb */ color: rgb(204, 78, 162); /* oklch */ color: oklch(61.8% 0.184 343.0);
Tailwind
colors: {
custom: {
50: '#df87bd',
500: '#cc4ea2',
950: '#000000',
},
}SCSS
$custom: #cc4ea2; $custom-light: #df87bd; $custom-dark: #000000;
JSON
{
"hex": "#cc4ea2",
"rgb": {
"r": 204,
"g": 78,
"b": 162
},
"hsl": {
"h": 320,
"s": 55.263,
"l": 55.294
},
"oklch": {
"l": 0.61753,
"c": 0.18378,
"h": 343
},
"luminance": 0.20895
}Semantic roles & 50–950 ramp
primary
#CC4EA2
secondary
#A1D5B2
accent
#DF7B49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81