#CC42A3#CC42A3
#CC42A3 is a mid, highly saturated pink. Relative luminance 0.194; OKLCH L 60.5% C 0.201 H 341.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #CC42A3 |
|---|---|
| RGB | rgb(204, 66, 163) |
| HSL | hsl(318, 58%, 53%) |
| HSV | hsv(318, 68%, 80%) |
| CMYK | cmyk(0%, 67.6%, 20.1%, 20%) |
| CIE-LAB | lab(51.13, 63.70, -23.35) |
| CIE-LCH | lch(51.13, 67.84, 339.87°) |
| OKLab | oklab(60.51% 0.1906 -0.0626) |
| OKLCH | oklch(60.51% 0.201 341.8) |
| XYZ | xyz(33.4619, 19.3814, 36.6219) |
| Luminance | 0.1938 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.82
Pinky Purple
#C94CBE
ΔE00 5.32
Purplish Pink
#CE5DAE
ΔE00 5.44
Purpleish Pink
#DF4EC8
ΔE00 7.22
Mediumvioletred
#C71585
ΔE00 7.49
Bright Pink
#FE01B1
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC42A3 #42CC6B
analogous
#B042CC #CC42A3 #CC425E
triadic
#CC42A3 #A3CC42 #42A3CC
tetradic
#CC42A3 #CCB042 #42CC6B #425ECC
square
#CC42A3 #CCB042 #42CC6B #425ECC
split-complementary
#CC42A3 #5ECC42 #42CCB0
monochromatic
#741F5B #A42C81 #CC42A3 #D972BA #E6A2D2
Accessibility & contrast
On white
4.31
#CC42A3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#CC42A3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC42A3
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC42A3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC42A3 | 1.00 | 4.31 | 4.88 | 4.88 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D6BA6
Deuteranopia (green-blind)
#7782A0
Tritanopia (blue-blind)
#D8446D
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #cc42a3; /* rgb */ color: rgb(204, 66, 163); /* oklch */ color: oklch(60.5% 0.201 341.8);
Tailwind
colors: {
custom: {
50: '#df81be',
500: '#cc42a3',
950: '#000000',
},
}SCSS
$custom: #cc42a3; $custom-light: #df81be; $custom-dark: #000000;
JSON
{
"hex": "#cc42a3",
"rgb": {
"r": 204,
"g": 66,
"b": 163
},
"hsl": {
"h": 317.826,
"s": 57.5,
"l": 52.941
},
"oklch": {
"l": 0.60515,
"c": 0.20061,
"h": 341.8
},
"luminance": 0.19378
}Semantic roles & 50–950 ramp
primary
#CC42A3
secondary
#97D3A9
accent
#E17547
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81