#CC3AA6#CC3AA6
#CC3AA6 is a mid, highly saturated pink. Relative luminance 0.186; OKLCH L 59.9% C 0.212 H 340.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #CC3AA6 |
|---|---|
| RGB | rgb(204, 58, 166) |
| HSL | hsl(316, 59%, 51%) |
| HSV | hsv(316, 72%, 80%) |
| CMYK | cmyk(0%, 71.6%, 18.6%, 20%) |
| CIE-LAB | lab(50.24, 66.96, -26.49) |
| CIE-LCH | lch(50.24, 72.01, 338.41°) |
| OKLab | oklab(59.91% 0.1998 -0.0714) |
| OKLCH | oklch(59.91% 0.212 340.3) |
| XYZ | xyz(33.2988, 18.6199, 37.9093) |
| Luminance | 0.1862 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.80
Pinky Purple
#C94CBE
ΔE00 5.08
Purplish Pink
#CE5DAE
ΔE00 6.64
Mediumvioletred
#C71585
ΔE00 7.13
Purpleish Pink
#DF4EC8
ΔE00 7.48
Hot Magenta
#F504C9
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC3AA6 #3ACC60
analogous
#A93ACC #CC3AA6 #CC3A5D
triadic
#CC3AA6 #A6CC3A #3AA6CC
tetradic
#CC3AA6 #CCA93A #3ACC60 #3A5DCC
square
#CC3AA6 #CCA93A #3ACC60 #3A5DCC
split-complementary
#CC3AA6 #5DCC3A #3ACCA9
monochromatic
#6F1D5A #A02981 #CC3AA6 #D96BBC #E59BD2
Accessibility & contrast
On white
4.45
#CC3AA6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#CC3AA6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC3AA6
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC3AA6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC3AA6 | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4469A9
Deuteranopia (green-blind)
#7380A3
Tritanopia (blue-blind)
#D83E6B
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #cc3aa6; /* rgb */ color: rgb(204, 58, 166); /* oklch */ color: oklch(59.9% 0.212 340.3);
Tailwind
colors: {
custom: {
50: '#e07dc0',
500: '#cc3aa6',
950: '#000000',
},
}SCSS
$custom: #cc3aa6; $custom-light: #e07dc0; $custom-dark: #000000;
JSON
{
"hex": "#cc3aa6",
"rgb": {
"r": 204,
"g": 58,
"b": 166
},
"hsl": {
"h": 315.616,
"s": 58.871,
"l": 51.373
},
"oklch": {
"l": 0.59909,
"c": 0.21214,
"h": 340.3
},
"luminance": 0.18617
}Semantic roles & 50–950 ramp
primary
#CC3AA6
secondary
#91D1A1
accent
#E26E46
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81