#CC509F#CC509F
#CC509F is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.9% C 0.179 H 344.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #CC509F |
|---|---|
| RGB | rgb(204, 80, 159) |
| HSL | hsl(322, 55%, 56%) |
| HSV | hsv(322, 61%, 80%) |
| CMYK | cmyk(0%, 60.8%, 22.1%, 20%) |
| CIE-LAB | lab(53.04, 57.46, -18.07) |
| CIE-LCH | lch(53.04, 60.23, 342.55°) |
| OKLab | oklab(61.86% 0.1725 -0.048) |
| OKLCH | oklch(61.86% 0.179 344.4) |
| XYZ | xyz(34.0296, 21.0810, 35.0710) |
| Luminance | 0.2108 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.64
Pale Magenta
#D767AD
ΔE00 5.88
Pinky Purple
#C94CBE
ΔE00 6.64
Purpley Pink
#C83CB9
ΔE00 7.22
Purpleish Pink
#DF4EC8
ΔE00 7.42
Bright Pink
#FE01B1
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC509F #50CC7D
analogous
#BB50CC #CC509F #CC5061
triadic
#CC509F #9FCC50 #509FCC
tetradic
#CC509F #CCBB50 #50CC7D #5061CC
square
#CC509F #CCBB50 #50CC7D #5061CC
split-complementary
#CC509F #61CC50 #50CCBB
monochromatic
#7D245D #AD3280 #CC509F #DA7FB9 #E8AFD3
Accessibility & contrast
On white
4.03
#CC509F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#CC509F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC509F
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC509F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC509F | 1.00 | 4.03 | 5.22 | 5.22 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B71A1
Deuteranopia (green-blind)
#7F869C
Tritanopia (blue-blind)
#D84F71
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #cc509f; /* rgb */ color: rgb(204, 80, 159); /* oklch */ color: oklch(61.9% 0.179 344.4);
Tailwind
colors: {
custom: {
50: '#df88bb',
500: '#cc509f',
950: '#000000',
},
}SCSS
$custom: #cc509f; $custom-light: #df88bb; $custom-dark: #000000;
JSON
{
"hex": "#cc509f",
"rgb": {
"r": 204,
"g": 80,
"b": 159
},
"hsl": {
"h": 321.774,
"s": 54.867,
"l": 55.686
},
"oklch": {
"l": 0.61863,
"c": 0.17902,
"h": 344.4
},
"luminance": 0.21078
}Semantic roles & 50–950 ramp
primary
#CC509F
secondary
#A2D6B5
accent
#DE804A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81