#CC478F#CC478F
#CC478F is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.2% C 0.183 H 350.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #CC478F |
|---|---|
| RGB | rgb(204, 71, 143) |
| HSL | hsl(328, 57%, 54%) |
| HSV | hsv(328, 65%, 80%) |
| CMYK | cmyk(0%, 65.2%, 29.9%, 20%) |
| CIE-LAB | lab(51.07, 59.15, -11.57) |
| CIE-LCH | lch(51.07, 60.27, 348.93°) |
| OKLab | oklab(60.22% 0.18 -0.0301) |
| OKLCH | oklch(60.22% 0.183 350.5) |
| XYZ | xyz(32.1145, 19.3304, 28.0212) |
| Luminance | 0.1933 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 6.21
Mediumvioletred
#C71585
ΔE00 6.96
Purplish Pink
#CE5DAE
ΔE00 7.00
Neon Pink
#FE019A
ΔE00 7.82
Shocking Pink
#FE02A2
ΔE00 7.95
Deeppink
#FF1493
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC478F #47CC84
analogous
#C747CC #CC478F #CC474D
triadic
#CC478F #8FCC47 #478FCC
tetradic
#CC478F #CCC747 #47CC84 #474DCC
square
#CC478F #CCC747 #47CC84 #474DCC
split-complementary
#CC478F #4DCC47 #47CCC7
monochromatic
#772150 #A72E70 #CC478F #D977AC #E7A7C9
Accessibility & contrast
On white
4.32
#CC478F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#CC478F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC478F
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC478F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC478F | 1.00 | 4.32 | 4.87 | 4.87 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A6B91
Deuteranopia (green-blind)
#7F828C
Tritanopia (blue-blind)
#DA4065
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #cc478f; /* rgb */ color: rgb(204, 71, 143); /* oklch */ color: oklch(60.2% 0.183 350.5);
Tailwind
colors: {
custom: {
50: '#e083af',
500: '#cc478f',
950: '#000000',
},
}SCSS
$custom: #cc478f; $custom-light: #e083af; $custom-dark: #000000;
JSON
{
"hex": "#cc478f",
"rgb": {
"r": 204,
"g": 71,
"b": 143
},
"hsl": {
"h": 327.519,
"s": 56.596,
"l": 53.922
},
"oklch": {
"l": 0.60222,
"c": 0.18251,
"h": 350.5
},
"luminance": 0.19327
}Semantic roles & 50–950 ramp
primary
#CC478F
secondary
#9BD4B5
accent
#E08E48
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F