#CC4F9F#CC4F9F
#CC4F9F is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.7% C 0.180 H 344.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #CC4F9F |
|---|---|
| RGB | rgb(204, 79, 159) |
| HSL | hsl(322, 55%, 55%) |
| HSV | hsv(322, 61%, 80%) |
| CMYK | cmyk(0%, 61.3%, 22.1%, 20%) |
| CIE-LAB | lab(52.88, 57.89, -18.31) |
| CIE-LCH | lch(52.88, 60.72, 342.45°) |
| OKLab | oklab(61.75% 0.1738 -0.0487) |
| OKLCH | oklch(61.75% 0.18 344.4) |
| XYZ | xyz(33.9569, 20.9357, 35.0468) |
| Luminance | 0.2093 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.76
Pale Magenta
#D767AD
ΔE00 6.06
Pinky Purple
#C94CBE
ΔE00 6.56
Purpley Pink
#C83CB9
ΔE00 7.07
Purpleish Pink
#DF4EC8
ΔE00 7.41
Bright Pink
#FE01B1
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC4F9F #4FCC7C
analogous
#BA4FCC #CC4F9F #CC4F60
triadic
#CC4F9F #9FCC4F #4F9FCC
tetradic
#CC4F9F #CCBA4F #4FCC7C #4F60CC
square
#CC4F9F #CCBA4F #4FCC7C #4F60CC
split-complementary
#CC4F9F #60CC4F #4FCCBA
monochromatic
#7D245D #AC3280 #CC4F9F #DA7EB9 #E7AED3
Accessibility & contrast
On white
4.05
#CC4F9F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#CC4F9F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC4F9F
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC4F9F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC4F9F | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A71A1
Deuteranopia (green-blind)
#7E869C
Tritanopia (blue-blind)
#D84E70
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #cc4f9f; /* rgb */ color: rgb(204, 79, 159); /* oklch */ color: oklch(61.7% 0.180 344.4);
Tailwind
colors: {
custom: {
50: '#df87bb',
500: '#cc4f9f',
950: '#000000',
},
}SCSS
$custom: #cc4f9f; $custom-light: #df87bb; $custom-dark: #000000;
JSON
{
"hex": "#cc4f9f",
"rgb": {
"r": 204,
"g": 79,
"b": 159
},
"hsl": {
"h": 321.6,
"s": 55.066,
"l": 55.49
},
"oklch": {
"l": 0.61746,
"c": 0.18046,
"h": 344.4
},
"luminance": 0.20933
}Semantic roles & 50–950 ramp
primary
#CC4F9F
secondary
#A1D5B4
accent
#DE7F49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81