#CC5178#CC5178
#CC5178 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.6% C 0.160 H 3.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #CC5178 |
|---|---|
| RGB | rgb(204, 81, 120) |
| HSL | hsl(341, 55%, 56%) |
| HSV | hsv(341, 60%, 80%) |
| CMYK | cmyk(0%, 60.3%, 41.2%, 20%) |
| CIE-LAB | lab(51.93, 52.25, 3.44) |
| CIE-LCH | lch(51.93, 52.36, 3.76°) |
| OKLab | oklab(60.62% 0.1594 0.0095) |
| OKLCH | oklch(60.62% 0.16 3.4) |
| XYZ | xyz(31.2365, 20.0818, 19.9969) |
| Luminance | 0.2008 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 2.88
Dark Pink
#CB416B
ΔE00 3.69
Deep Rose
#C74767
ΔE00 4.18
Blush
#DE5D83
ΔE00 4.97
Rose (survey)
#CF6275
ΔE00 5.66
Cherry
#DE3163
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC5178 #51CCA5
analogous
#CC51B5 #CC5178 #CC6751
triadic
#CC5178 #78CC51 #5178CC
tetradic
#CC5178 #B5CC51 #51CCA5 #6751CC
square
#CC5178 #B5CC51 #51CCA5 #6751CC
split-complementary
#CC5178 #51CC67 #51B5CC
monochromatic
#7E2541 #AD335A #CC5178 #DA809D #E8B0C1
Accessibility & contrast
On white
4.19
#CC5178 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#CC5178 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC5178
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC5178 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC5178 | 1.00 | 4.19 | 5.02 | 5.02 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#696D79
Deuteranopia (green-blind)
#898575
Tritanopia (blue-blind)
#DC4460
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #cc5178; /* rgb */ color: rgb(204, 81, 120); /* oklch */ color: oklch(60.6% 0.160 3.4);
Tailwind
colors: {
custom: {
50: '#e0889e',
500: '#cc5178',
950: '#000000',
},
}SCSS
$custom: #cc5178; $custom-light: #e0889e; $custom-dark: #000000;
JSON
{
"hex": "#cc5178",
"rgb": {
"r": 204,
"g": 81,
"b": 120
},
"hsl": {
"h": 340.976,
"s": 54.667,
"l": 55.882
},
"oklch": {
"l": 0.60623,
"c": 0.15963,
"h": 3.4
},
"luminance": 0.20078
}Semantic roles & 50–950 ramp
primary
#CC5178
secondary
#A3D6C6
accent
#DEAF4A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E