#CC4F9E#CC4F9E
#CC4F9E is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.7% C 0.180 H 344.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #CC4F9E |
|---|---|
| RGB | rgb(204, 79, 158) |
| HSL | hsl(322, 55%, 55%) |
| HSV | hsv(322, 61%, 80%) |
| CMYK | cmyk(0%, 61.3%, 22.5%, 20%) |
| CIE-LAB | lab(52.84, 57.76, -17.78) |
| CIE-LCH | lch(52.84, 60.43, 342.89°) |
| OKLab | oklab(61.71% 0.1735 -0.0472) |
| OKLCH | oklch(61.71% 0.18 344.8) |
| XYZ | xyz(33.8705, 20.9011, 34.5916) |
| Luminance | 0.2090 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.90
Pale Magenta
#D767AD
ΔE00 6.08
Pinky Purple
#C94CBE
ΔE00 6.77
Purpley Pink
#C83CB9
ΔE00 7.26
Purpleish Pink
#DF4EC8
ΔE00 7.60
Bright Pink
#FE01B1
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC4F9E #4FCC7D
analogous
#BB4FCC #CC4F9E #CC4F5F
triadic
#CC4F9E #9ECC4F #4F9ECC
tetradic
#CC4F9E #CCBB4F #4FCC7D #4F5FCC
square
#CC4F9E #CCBB4F #4FCC7D #4F5FCC
split-complementary
#CC4F9E #5FCC4F #4FCCBB
monochromatic
#7D245C #AC327F #CC4F9E #DA7EB8 #E7AED2
Accessibility & contrast
On white
4.05
#CC4F9E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#CC4F9E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC4F9E
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC4F9E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC4F9E | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B71A0
Deuteranopia (green-blind)
#7F869B
Tritanopia (blue-blind)
#D94E70
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #cc4f9e; /* rgb */ color: rgb(204, 79, 158); /* oklch */ color: oklch(61.7% 0.180 344.8);
Tailwind
colors: {
custom: {
50: '#df87ba',
500: '#cc4f9e',
950: '#000000',
},
}SCSS
$custom: #cc4f9e; $custom-light: #df87ba; $custom-dark: #000000;
JSON
{
"hex": "#cc4f9e",
"rgb": {
"r": 204,
"g": 79,
"b": 158
},
"hsl": {
"h": 322.08,
"s": 55.066,
"l": 55.49
},
"oklch": {
"l": 0.61706,
"c": 0.17984,
"h": 344.8
},
"luminance": 0.20898
}Semantic roles & 50–950 ramp
primary
#CC4F9E
secondary
#A1D5B5
accent
#DE8049
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80