#CC3EA8#CC3EA8
#CC3EA8 is a mid, highly saturated pink. Relative luminance 0.191; OKLCH L 60.4% C 0.209 H 339.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #CC3EA8 |
|---|---|
| RGB | rgb(204, 62, 168) |
| HSL | hsl(315, 58%, 52%) |
| HSV | hsv(315, 70%, 80%) |
| CMYK | cmyk(0%, 69.6%, 17.6%, 20%) |
| CIE-LAB | lab(50.82, 65.85, -26.77) |
| CIE-LCH | lch(50.82, 71.09, 337.87°) |
| OKLab | oklab(60.36% 0.1959 -0.0723) |
| OKLCH | oklch(60.36% 0.209 339.7) |
| XYZ | xyz(33.6932, 19.1130, 38.9529) |
| Luminance | 0.1911 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.60
Pinky Purple
#C94CBE
ΔE00 4.54
Purplish Pink
#CE5DAE
ΔE00 6.02
Purpleish Pink
#DF4EC8
ΔE00 6.89
Hot Magenta
#F504C9
ΔE00 7.27
Mediumvioletred
#C71585
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC3EA8 #3ECC62
analogous
#A93ECC #CC3EA8 #CC3E61
triadic
#CC3EA8 #A8CC3E #3EA8CC
tetradic
#CC3EA8 #CCA93E #3ECC62 #3E61CC
square
#CC3EA8 #CCA93E #3ECC62 #3E61CC
split-complementary
#CC3EA8 #61CC3E #3ECCA9
monochromatic
#721E5C #A22B84 #CC3EA8 #D96EBE #E69FD4
Accessibility & contrast
On white
4.36
#CC3EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#CC3EA8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC3EA8
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC3EA8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC3EA8 | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#476BAB
Deuteranopia (green-blind)
#7481A5
Tritanopia (blue-blind)
#D8426E
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #cc3ea8; /* rgb */ color: rgb(204, 62, 168); /* oklch */ color: oklch(60.4% 0.209 339.7);
Tailwind
colors: {
custom: {
50: '#df7fc2',
500: '#cc3ea8',
950: '#000000',
},
}SCSS
$custom: #cc3ea8; $custom-light: #df7fc2; $custom-dark: #000000;
JSON
{
"hex": "#cc3ea8",
"rgb": {
"r": 204,
"g": 62,
"b": 168
},
"hsl": {
"h": 315.211,
"s": 58.197,
"l": 52.157
},
"oklch": {
"l": 0.60358,
"c": 0.20876,
"h": 339.7
},
"luminance": 0.1911
}Semantic roles & 50–950 ramp
primary
#CC3EA8
secondary
#94D2A4
accent
#E16E46
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81