#CC4C8A#CC4C8A
#CC4C8A is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.6% C 0.173 H 353.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #CC4C8A |
|---|---|
| RGB | rgb(204, 76, 138) |
| HSL | hsl(331, 56%, 55%) |
| HSV | hsv(331, 63%, 80%) |
| CMYK | cmyk(0%, 62.7%, 32.4%, 20%) |
| CIE-LAB | lab(51.66, 56.47, -7.71) |
| CIE-LCH | lch(51.66, 56.99, 352.22°) |
| OKLab | oklab(60.6% 0.1721 -0.0197) |
| OKLCH | oklch(60.6% 0.173 353.5) |
| XYZ | xyz(32.0754, 19.8447, 26.1810) |
| Luminance | 0.1984 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.72
Dark Pink
#CB416B
ΔE00 7.37
Purplish Pink
#CE5DAE
ΔE00 7.72
Blush
#DE5D83
ΔE00 7.84
Neon Pink
#FE019A
ΔE00 8.01
Deeppink
#FF1493
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC4C8A #4CCC8E
analogous
#CC4CCA #CC4C8A #CC4E4C
triadic
#CC4C8A #8ACC4C #4C8ACC
tetradic
#CC4C8A #CACC4C #4CCC8E #4E4CCC
square
#CC4C8A #CACC4C #4CCC8E #4E4CCC
split-complementary
#CC4C8A #4CCC4E #4CCACC
monochromatic
#7B234D #AA316B #CC4C8A #DA7CA9 #E7ABC8
Accessibility & contrast
On white
4.23
#CC4C8A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#CC4C8A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC4C8A
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC4C8A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC4C8A | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#606C8C
Deuteranopia (green-blind)
#838487
Tritanopia (blue-blind)
#DB4465
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cc4c8a; /* rgb */ color: rgb(204, 76, 138); /* oklch */ color: oklch(60.6% 0.173 353.5);
Tailwind
colors: {
custom: {
50: '#df85ac',
500: '#cc4c8a',
950: '#000000',
},
}SCSS
$custom: #cc4c8a; $custom-light: #df85ac; $custom-dark: #000000;
JSON
{
"hex": "#cc4c8a",
"rgb": {
"r": 204,
"g": 76,
"b": 138
},
"hsl": {
"h": 330.938,
"s": 55.652,
"l": 54.902
},
"oklch": {
"l": 0.60602,
"c": 0.17325,
"h": 353.5
},
"luminance": 0.19841
}Semantic roles & 50–950 ramp
primary
#CC4C8A
secondary
#9FD5BB
accent
#DF9649
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F