#CC5A87#CC5A87
#CC5A87 is a light, vivid pink. Relative luminance 0.219; OKLCH L 62.3% C 0.152 H 357.7°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #CC5A87 |
|---|---|
| RGB | rgb(204, 90, 135) |
| HSL | hsl(336, 53%, 58%) |
| HSV | hsv(336, 56%, 80%) |
| CMYK | cmyk(0%, 55.9%, 33.8%, 20%) |
| CIE-LAB | lab(53.92, 49.79, -2.58) |
| CIE-LCH | lch(53.92, 49.86, 357.04°) |
| OKLab | oklab(62.25% 0.1516 -0.0061) |
| OKLCH | oklch(62.25% 0.152 357.7) |
| XYZ | xyz(32.9328, 21.9023, 25.4101) |
| Luminance | 0.2190 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.16
Blush
#DE5D83
ΔE00 4.80
Palevioletred
#DB7093
ΔE00 6.41
Dark Pink
#CB416B
ΔE00 7.10
Rose (survey)
#CF6275
ΔE00 7.18
Pinkish
#D46A7E
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC5A87 #5ACC9F
analogous
#CC5AC0 #CC5A87 #CC665A
triadic
#CC5A87 #87CC5A #5A87CC
tetradic
#CC5A87 #C0CC5A #5ACC9F #665ACC
square
#CC5A87 #C0CC5A #5ACC9F #665ACC
split-complementary
#CC5A87 #5ACC66 #5AC0CC
monochromatic
#83294C #B23767 #CC5A87 #DA89A9 #E9B7CB
Accessibility & contrast
On white
3.90
#CC5A87 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.38
#CC5A87 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC5A87
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC5A87 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC5A87 | 1.00 | 3.90 | 5.38 | 5.38 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C7488
Deuteranopia (green-blind)
#8A8984
Tritanopia (blue-blind)
#DB526B
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #cc5a87; /* rgb */ color: rgb(204, 90, 135); /* oklch */ color: oklch(62.3% 0.152 357.7);
Tailwind
colors: {
custom: {
50: '#df8da9',
500: '#cc5a87',
950: '#000000',
},
}SCSS
$custom: #cc5a87; $custom-light: #df8da9; $custom-dark: #000000;
JSON
{
"hex": "#cc5a87",
"rgb": {
"r": 204,
"g": 90,
"b": 135
},
"hsl": {
"h": 336.316,
"s": 52.778,
"l": 57.647
},
"oklch": {
"l": 0.62254,
"c": 0.15167,
"h": 357.7
},
"luminance": 0.21899
}Semantic roles & 50–950 ramp
primary
#CC5A87
secondary
#AAD8C6
accent
#DCA34C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F