#CC4E7D#CC4E7D
#CC4E7D is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.4% C 0.165 H 0.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #CC4E7D |
|---|---|
| RGB | rgb(204, 78, 125) |
| HSL | hsl(338, 55%, 55%) |
| HSV | hsv(338, 62%, 80%) |
| CMYK | cmyk(0%, 61.8%, 38.7%, 20%) |
| CIE-LAB | lab(51.58, 54.11, -0.07) |
| CIE-LCH | lch(51.58, 54.11, 359.93°) |
| OKLab | oklab(60.41% 0.1653 0.0005) |
| OKLCH | oklch(60.41% 0.165 0.2) |
| XYZ | xyz(31.3298, 19.7703, 21.5642) |
| Luminance | 0.1977 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 2.51
Dark Pink
#CB416B
ΔE00 4.36
Deep Rose
#C74767
ΔE00 5.39
Blush
#DE5D83
ΔE00 5.76
Cherry
#DE3163
ΔE00 7.28
Rose (survey)
#CF6275
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC4E7D #4ECC9D
analogous
#CC4EBC #CC4E7D #CC5E4E
triadic
#CC4E7D #7DCC4E #4E7DCC
tetradic
#CC4E7D #BCCC4E #4ECC9D #5E4ECC
square
#CC4E7D #BCCC4E #4ECC9D #5E4ECC
split-complementary
#CC4E7D #4ECC5E #4EBCCC
monochromatic
#7C2445 #AB315F #CC4E7D #DA7EA0 #E7ADC3
Accessibility & contrast
On white
4.24
#CC4E7D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#CC4E7D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC4E7D
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC4E7D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC4E7D | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#656C7E
Deuteranopia (green-blind)
#87847A
Tritanopia (blue-blind)
#DC4260
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cc4e7d; /* rgb */ color: rgb(204, 78, 125); /* oklch */ color: oklch(60.4% 0.165 0.2);
Tailwind
colors: {
custom: {
50: '#e086a2',
500: '#cc4e7d',
950: '#000000',
},
}SCSS
$custom: #cc4e7d; $custom-light: #e086a2; $custom-dark: #000000;
JSON
{
"hex": "#cc4e7d",
"rgb": {
"r": 204,
"g": 78,
"b": 125
},
"hsl": {
"h": 337.619,
"s": 55.263,
"l": 55.294
},
"oklch": {
"l": 0.60407,
"c": 0.16527,
"h": 0.2
},
"luminance": 0.19767
}Semantic roles & 50–950 ramp
primary
#CC4E7D
secondary
#A1D5C2
accent
#DFA749
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E