#CC518F#CC518F
#CC518F is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.4% C 0.169 H 351.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #CC518F |
|---|---|
| RGB | rgb(204, 81, 143) |
| HSL | hsl(330, 55%, 56%) |
| HSV | hsv(330, 60%, 80%) |
| CMYK | cmyk(0%, 60.3%, 29.9%, 20%) |
| CIE-LAB | lab(52.63, 54.91, -9.24) |
| CIE-LCH | lch(52.63, 55.68, 350.45°) |
| OKLab | oklab(61.37% 0.1669 -0.0238) |
| OKLCH | oklch(61.37% 0.169 351.9) |
| XYZ | xyz(32.8037, 20.7087, 28.2509) |
| Luminance | 0.2071 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 5.45
Purplish Pink
#CE5DAE
ΔE00 6.56
Pale Magenta
#D767AD
ΔE00 7.08
Blush
#DE5D83
ΔE00 7.82
Neon Pink
#FE019A
ΔE00 8.03
Deeppink
#FF1493
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC518F #51CC8E
analogous
#CB51CC #CC518F #CC5151
triadic
#CC518F #8FCC51 #518FCC
tetradic
#CC518F #CCCB51 #51CC8E #5151CC
square
#CC518F #CCCB51 #51CC8E #5151CC
split-complementary
#CC518F #51CC51 #51CCCB
monochromatic
#7E2552 #AD3370 #CC518F #DA80AD #E8B0CC
Accessibility & contrast
On white
4.08
#CC518F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#CC518F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC518F
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC518F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC518F | 1.00 | 4.08 | 5.14 | 5.14 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#627091
Deuteranopia (green-blind)
#84868C
Tritanopia (blue-blind)
#DA4B6A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #cc518f; /* rgb */ color: rgb(204, 81, 143); /* oklch */ color: oklch(61.4% 0.169 351.9);
Tailwind
colors: {
custom: {
50: '#df88af',
500: '#cc518f',
950: '#000000',
},
}SCSS
$custom: #cc518f; $custom-light: #df88af; $custom-dark: #000000;
JSON
{
"hex": "#cc518f",
"rgb": {
"r": 204,
"g": 81,
"b": 143
},
"hsl": {
"h": 329.756,
"s": 54.667,
"l": 55.882
},
"oklch": {
"l": 0.61373,
"c": 0.16855,
"h": 351.9
},
"luminance": 0.20705
}Semantic roles & 50–950 ramp
primary
#CC518F
secondary
#A3D6BC
accent
#DE934A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F