#CC479F#CC479F
#CC479F is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.9% C 0.192 H 343.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #CC479F |
|---|---|
| RGB | rgb(204, 71, 159) |
| HSL | hsl(320, 57%, 54%) |
| HSV | hsv(320, 65%, 80%) |
| CMYK | cmyk(0%, 65.2%, 22.1%, 20%) |
| CIE-LAB | lab(51.67, 61.22, -20.16) |
| CIE-LCH | lch(51.67, 64.45, 341.77°) |
| OKLab | oklab(60.86% 0.1839 -0.0537) |
| OKLCH | oklch(60.86% 0.192 343.7) |
| XYZ | xyz(33.4142, 19.8503, 34.8659) |
| Luminance | 0.1985 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.88
Purpley Pink
#C83CB9
ΔE00 6.06
Pinky Purple
#C94CBE
ΔE00 6.15
Pale Magenta
#D767AD
ΔE00 7.50
Purpleish Pink
#DF4EC8
ΔE00 7.56
Mediumvioletred
#C71585
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC479F #47CC74
analogous
#B747CC #CC479F #CC475D
triadic
#CC479F #9FCC47 #479FCC
tetradic
#CC479F #CCB747 #47CC74 #475DCC
square
#CC479F #CCB747 #47CC74 #475DCC
split-complementary
#CC479F #5DCC47 #47CCB7
monochromatic
#77215A #A72E7E #CC479F #D977B8 #E7A7D1
Accessibility & contrast
On white
4.23
#CC479F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#CC479F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC479F
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC479F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC479F | 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)
#536DA2
Deuteranopia (green-blind)
#7B839C
Tritanopia (blue-blind)
#D9476D
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cc479f; /* rgb */ color: rgb(204, 71, 159); /* oklch */ color: oklch(60.9% 0.192 343.7);
Tailwind
colors: {
custom: {
50: '#df83bb',
500: '#cc479f',
950: '#000000',
},
}SCSS
$custom: #cc479f; $custom-light: #df83bb; $custom-dark: #000000;
JSON
{
"hex": "#cc479f",
"rgb": {
"r": 204,
"g": 71,
"b": 159
},
"hsl": {
"h": 320.301,
"s": 56.596,
"l": 53.922
},
"oklch": {
"l": 0.60855,
"c": 0.19158,
"h": 343.7
},
"luminance": 0.19847
}Semantic roles & 50–950 ramp
primary
#CC479F
secondary
#9BD4AE
accent
#E07B48
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B12
muted
#847C81