#CC5074#CC5074
#CC5074 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.4% C 0.160 H 5.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #CC5074 |
|---|---|
| RGB | rgb(204, 80, 116) |
| HSL | hsl(343, 55%, 56%) |
| HSV | hsv(343, 61%, 80%) |
| CMYK | cmyk(0%, 60.8%, 43.1%, 20%) |
| CIE-LAB | lab(51.65, 52.28, 5.44) |
| CIE-LCH | lch(51.65, 52.56, 5.94°) |
| OKLab | oklab(60.38% 0.1593 0.0146) |
| OKLCH | oklch(60.38% 0.16 5.2) |
| XYZ | xyz(30.9250, 19.8392, 18.7204) |
| Luminance | 0.1984 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 3.14
Deep Rose
#C74767
ΔE00 3.30
Darkish Pink
#DA467D
ΔE00 3.41
Rose (survey)
#CF6275
ΔE00 5.20
Blush
#DE5D83
ΔE00 5.22
Cherry
#DE3163
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC5074 #50CCA8
analogous
#CC50B2 #CC5074 #CC6A50
triadic
#CC5074 #74CC50 #5074CC
tetradic
#CC5074 #B2CC50 #50CCA8 #6A50CC
square
#CC5074 #B2CC50 #50CCA8 #6A50CC
split-complementary
#CC5074 #50CC6A #50B2CC
monochromatic
#7D243E #AD3256 #CC5074 #DA7F9A #E8AFBF
Accessibility & contrast
On white
4.23
#CC5074 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#CC5074 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC5074
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC5074 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC5074 | 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)
#696C75
Deuteranopia (green-blind)
#898471
Tritanopia (blue-blind)
#DD415E
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cc5074; /* rgb */ color: rgb(204, 80, 116); /* oklch */ color: oklch(60.4% 0.160 5.2);
Tailwind
colors: {
custom: {
50: '#e0879b',
500: '#cc5074',
950: '#000000',
},
}SCSS
$custom: #cc5074; $custom-light: #e0879b; $custom-dark: #000000;
JSON
{
"hex": "#cc5074",
"rgb": {
"r": 204,
"g": 80,
"b": 116
},
"hsl": {
"h": 342.581,
"s": 54.867,
"l": 55.686
},
"oklch": {
"l": 0.60383,
"c": 0.15998,
"h": 5.2
},
"luminance": 0.19836
}Semantic roles & 50–950 ramp
primary
#CC5074
secondary
#A2D6C7
accent
#DEB34A
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E