#CC40A3#CC40A3
#CC40A3 is a mid, highly saturated pink. Relative luminance 0.191; OKLCH L 60.3% C 0.203 H 341.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #CC40A3 |
|---|---|
| RGB | rgb(204, 64, 163) |
| HSL | hsl(318, 58%, 53%) |
| HSV | hsv(318, 69%, 80%) |
| CMYK | cmyk(0%, 68.6%, 20.1%, 20%) |
| CIE-LAB | lab(50.86, 64.44, -23.76) |
| CIE-LCH | lch(50.86, 68.68, 339.76°) |
| OKLab | oklab(60.32% 0.1928 -0.0638) |
| OKLCH | oklch(60.32% 0.203 341.7) |
| XYZ | xyz(33.3471, 19.1517, 36.5837) |
| Luminance | 0.1915 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.67
Pinky Purple
#C94CBE
ΔE00 5.36
Purplish Pink
#CE5DAE
ΔE00 5.76
Mediumvioletred
#C71585
ΔE00 7.27
Purpleish Pink
#DF4EC8
ΔE00 7.36
Hot Magenta
#F504C9
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC40A3 #40CC69
analogous
#AF40CC #CC40A3 #CC405D
triadic
#CC40A3 #A3CC40 #40A3CC
tetradic
#CC40A3 #CCAF40 #40CC69 #405DCC
square
#CC40A3 #CCAF40 #40CC69 #405DCC
split-complementary
#CC40A3 #5DCC40 #40CCAF
monochromatic
#731F5A #A32C80 #CC40A3 #D970BA #E6A1D2
Accessibility & contrast
On white
4.35
#CC40A3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#CC40A3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC40A3
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC40A3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC40A3 | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B6BA6
Deuteranopia (green-blind)
#7681A0
Tritanopia (blue-blind)
#D8426C
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #cc40a3; /* rgb */ color: rgb(204, 64, 163); /* oklch */ color: oklch(60.3% 0.203 341.7);
Tailwind
colors: {
custom: {
50: '#df80be',
500: '#cc40a3',
950: '#000000',
},
}SCSS
$custom: #cc40a3; $custom-light: #df80be; $custom-dark: #000000;
JSON
{
"hex": "#cc40a3",
"rgb": {
"r": 204,
"g": 64,
"b": 163
},
"hsl": {
"h": 317.571,
"s": 57.851,
"l": 52.549
},
"oklch": {
"l": 0.60321,
"c": 0.20311,
"h": 341.7
},
"luminance": 0.19149
}Semantic roles & 50–950 ramp
primary
#CC40A3
secondary
#95D2A7
accent
#E17447
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81