#CC3EA6#CC3EA6
#CC3EA6 is a mid, highly saturated pink. Relative luminance 0.190; OKLCH L 60.3% C 0.207 H 340.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CC3EA6 |
|---|---|
| RGB | rgb(204, 62, 166) |
| HSL | hsl(316, 58%, 52%) |
| HSV | hsv(316, 70%, 80%) |
| CMYK | cmyk(0%, 69.6%, 18.6%, 20%) |
| CIE-LAB | lab(50.73, 65.58, -25.73) |
| CIE-LCH | lch(50.73, 70.44, 338.58°) |
| OKLab | oklab(60.27% 0.1956 -0.0693) |
| OKLCH | oklch(60.27% 0.207 340.5) |
| XYZ | xyz(33.5083, 19.0390, 37.9792) |
| Luminance | 0.1904 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.98
Pinky Purple
#C94CBE
ΔE00 4.88
Purplish Pink
#CE5DAE
ΔE00 6.02
Purpleish Pink
#DF4EC8
ΔE00 7.13
Mediumvioletred
#C71585
ΔE00 7.47
Hot Magenta
#F504C9
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC3EA6 #3ECC64
analogous
#AB3ECC #CC3EA6 #CC3E5F
triadic
#CC3EA6 #A6CC3E #3EA6CC
tetradic
#CC3EA6 #CCAB3E #3ECC64 #3E5FCC
square
#CC3EA6 #CCAB3E #3ECC64 #3E5FCC
split-complementary
#CC3EA6 #5FCC3E #3ECCAB
monochromatic
#721E5B #A22B82 #CC3EA6 #D96EBC #E69FD3
Accessibility & contrast
On white
4.37
#CC3EA6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#CC3EA6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC3EA6
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC3EA6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC3EA6 | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#486AA9
Deuteranopia (green-blind)
#7581A3
Tritanopia (blue-blind)
#D8426D
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #cc3ea6; /* rgb */ color: rgb(204, 62, 166); /* oklch */ color: oklch(60.3% 0.207 340.5);
Tailwind
colors: {
custom: {
50: '#df7fc0',
500: '#cc3ea6',
950: '#000000',
},
}SCSS
$custom: #cc3ea6; $custom-light: #df7fc0; $custom-dark: #000000;
JSON
{
"hex": "#cc3ea6",
"rgb": {
"r": 204,
"g": 62,
"b": 166
},
"hsl": {
"h": 316.056,
"s": 58.197,
"l": 52.157
},
"oklch": {
"l": 0.60267,
"c": 0.20747,
"h": 340.5
},
"luminance": 0.19036
}Semantic roles & 50–950 ramp
primary
#CC3EA6
secondary
#94D2A4
accent
#E17046
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81