#CC4F7E#CC4F7E
#CC4F7E is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.6% C 0.164 H 359.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #CC4F7E |
|---|---|
| RGB | rgb(204, 79, 126) |
| HSL | hsl(337, 55%, 55%) |
| HSV | hsv(337, 61%, 80%) |
| CMYK | cmyk(0%, 61.3%, 38.2%, 20%) |
| CIE-LAB | lab(51.77, 53.78, -0.39) |
| CIE-LCH | lch(51.77, 53.78, 359.59°) |
| OKLab | oklab(60.56% 0.1642 -0.0003) |
| OKLCH | oklch(60.56% 0.164 359.9) |
| XYZ | xyz(31.4656, 19.9392, 21.9262) |
| Luminance | 0.1994 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 2.57
Dark Pink
#CB416B
ΔE00 4.61
Deep Rose
#C74767
ΔE00 5.61
Blush
#DE5D83
ΔE00 5.65
Rose (survey)
#CF6275
ΔE00 7.33
Cherry
#DE3163
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC4F7E #4FCC9D
analogous
#CC4FBC #CC4F7E #CC5E4F
triadic
#CC4F7E #7ECC4F #4F7ECC
tetradic
#CC4F7E #BCCC4F #4FCC9D #5E4FCC
square
#CC4F7E #BCCC4F #4FCC9D #5E4FCC
split-complementary
#CC4F7E #4FCC5E #4FBCCC
monochromatic
#7D2445 #AC3260 #CC4F7E #DA7EA1 #E7AEC4
Accessibility & contrast
On white
4.21
#CC4F7E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#CC4F7E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC4F7E
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC4F7E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC4F7E | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#666C7F
Deuteranopia (green-blind)
#87847B
Tritanopia (blue-blind)
#DC4361
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cc4f7e; /* rgb */ color: rgb(204, 79, 126); /* oklch */ color: oklch(60.6% 0.164 359.9);
Tailwind
colors: {
custom: {
50: '#e086a3',
500: '#cc4f7e',
950: '#000000',
},
}SCSS
$custom: #cc4f7e; $custom-light: #e086a3; $custom-dark: #000000;
JSON
{
"hex": "#cc4f7e",
"rgb": {
"r": 204,
"g": 79,
"b": 126
},
"hsl": {
"h": 337.44,
"s": 55.066,
"l": 55.49
},
"oklch": {
"l": 0.60559,
"c": 0.16423,
"h": 359.9
},
"luminance": 0.19936
}Semantic roles & 50–950 ramp
primary
#CC4F7E
secondary
#A1D5C2
accent
#DEA649
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F