#CC42A4#CC42A4
#CC42A4 is a mid, highly saturated pink. Relative luminance 0.194; OKLCH L 60.6% C 0.201 H 341.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #CC42A4 |
|---|---|
| RGB | rgb(204, 66, 164) |
| HSL | hsl(317, 58%, 53%) |
| HSV | hsv(317, 68%, 80%) |
| CMYK | cmyk(0%, 67.6%, 19.6%, 20%) |
| CIE-LAB | lab(51.17, 63.84, -23.87) |
| CIE-LCH | lch(51.17, 68.15, 339.50°) |
| OKLab | oklab(60.56% 0.1908 -0.0641) |
| OKLCH | oklch(60.56% 0.201 341.4) |
| XYZ | xyz(33.5518, 19.4173, 37.0957) |
| Luminance | 0.1941 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.63
Pinky Purple
#C94CBE
ΔE00 5.13
Purplish Pink
#CE5DAE
ΔE00 5.41
Purpleish Pink
#DF4EC8
ΔE00 7.08
Mediumvioletred
#C71585
ΔE00 7.61
Hot Magenta
#F504C9
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC42A4 #42CC6A
analogous
#AF42CC #CC42A4 #CC425F
triadic
#CC42A4 #A4CC42 #42A4CC
tetradic
#CC42A4 #CCAF42 #42CC6A #425FCC
square
#CC42A4 #CCAF42 #42CC6A #425FCC
split-complementary
#CC42A4 #5FCC42 #42CCAF
monochromatic
#741F5C #A42C82 #CC42A4 #D972BB #E6A2D2
Accessibility & contrast
On white
4.30
#CC42A4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#CC42A4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC42A4
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC42A4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC42A4 | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 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)
#4D6CA7
Deuteranopia (green-blind)
#7782A1
Tritanopia (blue-blind)
#D8446D
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #cc42a4; /* rgb */ color: rgb(204, 66, 164); /* oklch */ color: oklch(60.6% 0.201 341.4);
Tailwind
colors: {
custom: {
50: '#df81bf',
500: '#cc42a4',
950: '#000000',
},
}SCSS
$custom: #cc42a4; $custom-light: #df81bf; $custom-dark: #000000;
JSON
{
"hex": "#cc42a4",
"rgb": {
"r": 204,
"g": 66,
"b": 164
},
"hsl": {
"h": 317.391,
"s": 57.5,
"l": 52.941
},
"oklch": {
"l": 0.60559,
"c": 0.20125,
"h": 341.4
},
"luminance": 0.19414
}Semantic roles & 50–950 ramp
primary
#CC42A4
secondary
#97D3A8
accent
#E17447
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81