#CC5A97#CC5A97
#CC5A97 is a light, vivid pink. Relative luminance 0.224; OKLCH L 62.8% C 0.159 H 349.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #CC5A97 |
|---|---|
| RGB | rgb(204, 90, 151) |
| HSL | hsl(328, 53%, 58%) |
| HSV | hsv(328, 56%, 80%) |
| CMYK | cmyk(0%, 55.9%, 26%, 20%) |
| CIE-LAB | lab(54.44, 51.84, -11.25) |
| CIE-LCH | lch(54.44, 53.05, 347.76°) |
| OKLab | oklab(62.8% 0.1566 -0.0293) |
| OKLCH | oklch(62.8% 0.159 349.4) |
| XYZ | xyz(34.1451, 22.3872, 31.7950) |
| Luminance | 0.2238 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.90
Pale Magenta
#D767AD
ΔE00 4.99
Darkish Pink
#DA467D
ΔE00 6.97
Blush
#DE5D83
ΔE00 8.02
Palevioletred
#DB7093
ΔE00 8.09
Barbie Pink
#FE46A5
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC5A97 #5ACC8F
analogous
#C85ACC #CC5A97 #CC5A5E
triadic
#CC5A97 #97CC5A #5A97CC
tetradic
#CC5A97 #CCC85A #5ACC8F #5A5ECC
square
#CC5A97 #CCC85A #5ACC8F #5A5ECC
split-complementary
#CC5A97 #5ECC5A #5ACCC8
monochromatic
#832959 #B23779 #CC5A97 #DA89B4 #E9B7D2
Accessibility & contrast
On white
3.83
#CC5A97 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#CC5A97 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC5A97
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC5A97 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC5A97 | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#677699
Deuteranopia (green-blind)
#868A94
Tritanopia (blue-blind)
#D95672
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #cc5a97; /* rgb */ color: rgb(204, 90, 151); /* oklch */ color: oklch(62.8% 0.159 349.4);
Tailwind
colors: {
custom: {
50: '#df8db5',
500: '#cc5a97',
950: '#000000',
},
}SCSS
$custom: #cc5a97; $custom-light: #df8db5; $custom-dark: #000000;
JSON
{
"hex": "#cc5a97",
"rgb": {
"r": 204,
"g": 90,
"b": 151
},
"hsl": {
"h": 327.895,
"s": 52.778,
"l": 57.647
},
"oklch": {
"l": 0.62804,
"c": 0.15928,
"h": 349.4
},
"luminance": 0.22384
}Semantic roles & 50–950 ramp
primary
#CC5A97
secondary
#AAD8BF
accent
#DC8F4C
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160D11
muted
#847D80