#CC4BA2#CC4BA2
#CC4BA2 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.4% C 0.188 H 342.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #CC4BA2 |
|---|---|
| RGB | rgb(204, 75, 162) |
| HSL | hsl(320, 56%, 55%) |
| HSV | hsv(320, 63%, 80%) |
| CMYK | cmyk(0%, 63.2%, 20.6%, 20%) |
| CIE-LAB | lab(52.38, 60.00, -20.84) |
| CIE-LCH | lch(52.38, 63.52, 340.85°) |
| OKLab | oklab(61.42% 0.1796 -0.0557) |
| OKLCH | oklch(61.42% 0.188 342.8) |
| XYZ | xyz(33.9405, 20.4813, 36.3412) |
| Luminance | 0.2048 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.04
Pinky Purple
#C94CBE
ΔE00 5.67
Purpley Pink
#C83CB9
ΔE00 5.96
Pale Magenta
#D767AD
ΔE00 6.78
Purpleish Pink
#DF4EC8
ΔE00 6.92
Bright Pink
#FE01B1
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC4BA2 #4BCC75
analogous
#B64BCC #CC4BA2 #CC4B62
triadic
#CC4BA2 #A2CC4B #4BA2CC
tetradic
#CC4BA2 #CCB64B #4BCC75 #4B62CC
square
#CC4BA2 #CCB64B #4BCC75 #4B62CC
split-complementary
#CC4BA2 #62CC4B #4BCCB6
monochromatic
#7A235E #AA3082 #CC4BA2 #DA7BBB #E7AAD3
Accessibility & contrast
On white
4.12
#CC4BA2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#CC4BA2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC4BA2
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC4BA2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC4BA2 | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#566FA5
Deuteranopia (green-blind)
#7C859F
Tritanopia (blue-blind)
#D84C70
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #cc4ba2; /* rgb */ color: rgb(204, 75, 162); /* oklch */ color: oklch(61.4% 0.188 342.8);
Tailwind
colors: {
custom: {
50: '#df85bd',
500: '#cc4ba2',
950: '#000000',
},
}SCSS
$custom: #cc4ba2; $custom-light: #df85bd; $custom-dark: #000000;
JSON
{
"hex": "#cc4ba2",
"rgb": {
"r": 204,
"g": 75,
"b": 162
},
"hsl": {
"h": 319.535,
"s": 55.844,
"l": 54.706
},
"oklch": {
"l": 0.61415,
"c": 0.18801,
"h": 342.8
},
"luminance": 0.20478
}Semantic roles & 50–950 ramp
primary
#CC4BA2
secondary
#9ED5B0
accent
#DF7A49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81