#CC548F#CC548F
#CC548F is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.7% C 0.164 H 352.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #CC548F |
|---|---|
| RGB | rgb(204, 84, 143) |
| HSL | hsl(331, 54%, 56%) |
| HSV | hsv(331, 59%, 80%) |
| CMYK | cmyk(0%, 58.8%, 29.9%, 20%) |
| CIE-LAB | lab(53.13, 53.56, -8.49) |
| CIE-LCH | lch(53.13, 54.23, 351.00°) |
| OKLab | oklab(61.74% 0.1627 -0.0218) |
| OKLCH | oklch(61.74% 0.164 352.4) |
| XYZ | xyz(33.0316, 21.1645, 28.3268) |
| Luminance | 0.2116 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 5.35
Purplish Pink
#CE5DAE
ΔE00 6.58
Pale Magenta
#D767AD
ΔE00 6.79
Blush
#DE5D83
ΔE00 7.31
Neon Pink
#FE019A
ΔE00 8.23
Deeppink
#FF1493
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC548F #54CC91
analogous
#CC54CB #CC548F #CC5554
triadic
#CC548F #8FCC54 #548FCC
tetradic
#CC548F #CBCC54 #54CC91 #5554CC
square
#CC548F #CBCC54 #54CC91 #5554CC
split-complementary
#CC548F #54CC55 #54CBCC
monochromatic
#802652 #AF3470 #CC548F #DA83AE #E8B2CD
Accessibility & contrast
On white
4.01
#CC548F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#CC548F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC548F
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC548F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC548F | 1.00 | 4.01 | 5.23 | 5.23 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#657191
Deuteranopia (green-blind)
#85878C
Tritanopia (blue-blind)
#DA4E6B
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #cc548f; /* rgb */ color: rgb(204, 84, 143); /* oklch */ color: oklch(61.7% 0.164 352.4);
Tailwind
colors: {
custom: {
50: '#df8aaf',
500: '#cc548f',
950: '#000000',
},
}SCSS
$custom: #cc548f; $custom-light: #df8aaf; $custom-dark: #000000;
JSON
{
"hex": "#cc548f",
"rgb": {
"r": 204,
"g": 84,
"b": 143
},
"hsl": {
"h": 330.5,
"s": 54.054,
"l": 56.471
},
"oklch": {
"l": 0.61744,
"c": 0.16417,
"h": 352.4
},
"luminance": 0.21161
}Semantic roles & 50–950 ramp
primary
#CC548F
secondary
#A5D7BE
accent
#DD954A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F