#CC4E9D#CC4E9D
#CC4E9D is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.5% C 0.181 H 345.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #CC4E9D |
|---|---|
| RGB | rgb(204, 78, 157) |
| HSL | hsl(322, 55%, 55%) |
| HSV | hsv(322, 62%, 80%) |
| CMYK | cmyk(0%, 61.8%, 23%, 20%) |
| CIE-LAB | lab(52.65, 58.05, -17.49) |
| CIE-LCH | lch(52.65, 60.62, 343.24°) |
| OKLab | oklab(61.55% 0.1746 -0.0464) |
| OKLCH | oklch(61.55% 0.181 345.1) |
| XYZ | xyz(33.7131, 20.7237, 34.1163) |
| Luminance | 0.2072 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.15
Pale Magenta
#D767AD
ΔE00 6.29
Pinky Purple
#C94CBE
ΔE00 6.91
Purpley Pink
#C83CB9
ΔE00 7.31
Purpleish Pink
#DF4EC8
ΔE00 7.79
Shocking Pink
#FE02A2
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC4E9D #4ECC7D
analogous
#BC4ECC #CC4E9D #CC4E5E
triadic
#CC4E9D #9DCC4E #4E9DCC
tetradic
#CC4E9D #CCBC4E #4ECC7D #4E5ECC
square
#CC4E9D #CCBC4E #4ECC7D #4E5ECC
split-complementary
#CC4E9D #5ECC4E #4ECCBC
monochromatic
#7C245B #AB317E #CC4E9D #DA7EB7 #E7ADD2
Accessibility & contrast
On white
4.08
#CC4E9D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#CC4E9D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC4E9D
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC4E9D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC4E9D | 1.00 | 4.08 | 5.14 | 5.14 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A709F
Deuteranopia (green-blind)
#7F859A
Tritanopia (blue-blind)
#D94D6F
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #cc4e9d; /* rgb */ color: rgb(204, 78, 157); /* oklch */ color: oklch(61.5% 0.181 345.1);
Tailwind
colors: {
custom: {
50: '#df87ba',
500: '#cc4e9d',
950: '#000000',
},
}SCSS
$custom: #cc4e9d; $custom-light: #df87ba; $custom-dark: #000000;
JSON
{
"hex": "#cc4e9d",
"rgb": {
"r": 204,
"g": 78,
"b": 157
},
"hsl": {
"h": 322.381,
"s": 55.263,
"l": 55.294
},
"oklch": {
"l": 0.61549,
"c": 0.18066,
"h": 345.1
},
"luminance": 0.2072
}Semantic roles & 50–950 ramp
primary
#CC4E9D
secondary
#A1D5B4
accent
#DF8149
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80