#CC51A3#CC51A3
#CC51A3 is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.1% C 0.180 H 342.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #CC51A3 |
|---|---|
| RGB | rgb(204, 81, 163) |
| HSL | hsl(320, 55%, 56%) |
| HSV | hsv(320, 60%, 80%) |
| CMYK | cmyk(0%, 60.3%, 20.1%, 20%) |
| CIE-LAB | lab(53.35, 57.59, -19.93) |
| CIE-LCH | lch(53.35, 60.94, 340.91°) |
| OKLab | oklab(62.15% 0.1721 -0.0532) |
| OKLCH | oklch(62.15% 0.18 342.8) |
| XYZ | xyz(34.4560, 21.3697, 36.9533) |
| Luminance | 0.2137 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.02
Pale Magenta
#D767AD
ΔE00 5.66
Pinky Purple
#C94CBE
ΔE00 5.89
Purpley Pink
#C83CB9
ΔE00 6.67
Purpleish Pink
#DF4EC8
ΔE00 6.69
Bright Pink
#FE01B1
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC51A3 #51CC7A
analogous
#B751CC #CC51A3 #CC5165
triadic
#CC51A3 #A3CC51 #51A3CC
tetradic
#CC51A3 #CCB751 #51CC7A #5165CC
square
#CC51A3 #CCB751 #51CC7A #5165CC
split-complementary
#CC51A3 #65CC51 #51CCB7
monochromatic
#7E2560 #AD3384 #CC51A3 #DA80BC #E8B0D5
Accessibility & contrast
On white
3.98
#CC51A3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#CC51A3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC51A3
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC51A3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC51A3 | 1.00 | 3.98 | 5.27 | 5.27 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B73A6
Deuteranopia (green-blind)
#7E87A0
Tritanopia (blue-blind)
#D85173
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #cc51a3; /* rgb */ color: rgb(204, 81, 163); /* oklch */ color: oklch(62.1% 0.180 342.8);
Tailwind
colors: {
custom: {
50: '#df88be',
500: '#cc51a3',
950: '#000000',
},
}SCSS
$custom: #cc51a3; $custom-light: #df88be; $custom-dark: #000000;
JSON
{
"hex": "#cc51a3",
"rgb": {
"r": 204,
"g": 81,
"b": 163
},
"hsl": {
"h": 320,
"s": 54.667,
"l": 55.882
},
"oklch": {
"l": 0.62145,
"c": 0.1801,
"h": 342.8
},
"luminance": 0.21367
}Semantic roles & 50–950 ramp
primary
#CC51A3
secondary
#A3D6B4
accent
#DE7B4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81