#CC4F78#CC4F78
#CC4F78 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.4% C 0.162 H 2.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #CC4F78 |
|---|---|
| RGB | rgb(204, 79, 120) |
| HSL | hsl(340, 55%, 55%) |
| HSV | hsv(340, 61%, 80%) |
| CMYK | cmyk(0%, 61.3%, 41.2%, 20%) |
| CIE-LAB | lab(51.60, 53.14, 2.96) |
| CIE-LCH | lch(51.60, 53.22, 3.19°) |
| OKLab | oklab(60.38% 0.1621 0.0083) |
| OKLCH | oklch(60.38% 0.162 2.9) |
| XYZ | xyz(31.0900, 19.7890, 19.9481) |
| Luminance | 0.1978 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 2.68
Dark Pink
#CB416B
ΔE00 3.46
Deep Rose
#C74767
ΔE00 4.15
Blush
#DE5D83
ΔE00 5.31
Rose (survey)
#CF6275
ΔE00 6.14
Cherry
#DE3163
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC4F78 #4FCCA3
analogous
#CC4FB6 #CC4F78 #CC644F
triadic
#CC4F78 #78CC4F #4F78CC
tetradic
#CC4F78 #B6CC4F #4FCCA3 #644FCC
square
#CC4F78 #B6CC4F #4FCCA3 #644FCC
split-complementary
#CC4F78 #4FCC64 #4FB6CC
monochromatic
#7D2441 #AC325A #CC4F78 #DA7E9C #E7AEC1
Accessibility & contrast
On white
4.24
#CC4F78 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#CC4F78 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC4F78
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC4F78 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC4F78 | 1.00 | 4.24 | 4.96 | 4.96 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#676C79
Deuteranopia (green-blind)
#888475
Tritanopia (blue-blind)
#DC415F
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cc4f78; /* rgb */ color: rgb(204, 79, 120); /* oklch */ color: oklch(60.4% 0.162 2.9);
Tailwind
colors: {
custom: {
50: '#e0869e',
500: '#cc4f78',
950: '#000000',
},
}SCSS
$custom: #cc4f78; $custom-light: #e0869e; $custom-dark: #000000;
JSON
{
"hex": "#cc4f78",
"rgb": {
"r": 204,
"g": 79,
"b": 120
},
"hsl": {
"h": 340.32,
"s": 55.066,
"l": 55.49
},
"oklch": {
"l": 0.60376,
"c": 0.16236,
"h": 2.9
},
"luminance": 0.19785
}Semantic roles & 50–950 ramp
primary
#CC4F78
secondary
#A1D5C4
accent
#DEAE49
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E