#CC3BA8#CC3BA8
#CC3BA8 is a mid, highly saturated pink. Relative luminance 0.188; OKLCH L 60.1% C 0.212 H 339.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #CC3BA8 |
|---|---|
| RGB | rgb(204, 59, 168) |
| HSL | hsl(315, 59%, 52%) |
| HSV | hsv(315, 71%, 80%) |
| CMYK | cmyk(0%, 71.1%, 17.6%, 20%) |
| CIE-LAB | lab(50.45, 66.90, -27.35) |
| CIE-LCH | lch(50.45, 72.27, 337.76°) |
| OKLab | oklab(60.09% 0.199 -0.0739) |
| OKLCH | oklch(60.09% 0.212 339.6) |
| XYZ | xyz(33.5345, 18.7957, 38.9000) |
| Luminance | 0.1879 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.46
Pinky Purple
#C94CBE
ΔE00 4.70
Purplish Pink
#CE5DAE
ΔE00 6.48
Purpleish Pink
#DF4EC8
ΔE00 7.16
Hot Magenta
#F504C9
ΔE00 7.33
Mediumvioletred
#C71585
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC3BA8 #3BCC5F
analogous
#A83BCC #CC3BA8 #CC3B60
triadic
#CC3BA8 #A8CC3B #3BA8CC
tetradic
#CC3BA8 #CCA83B #3BCC5F #3B60CC
square
#CC3BA8 #CCA83B #3BCC5F #3B60CC
split-complementary
#CC3BA8 #60CC3B #3BCCA8
monochromatic
#701D5B #A02A83 #CC3BA8 #D96CBE #E59CD3
Accessibility & contrast
On white
4.41
#CC3BA8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#CC3BA8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC3BA8
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC3BA8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC3BA8 | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4469AB
Deuteranopia (green-blind)
#7380A5
Tritanopia (blue-blind)
#D8406D
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #cc3ba8; /* rgb */ color: rgb(204, 59, 168); /* oklch */ color: oklch(60.1% 0.212 339.6);
Tailwind
colors: {
custom: {
50: '#df7dc2',
500: '#cc3ba8',
950: '#000000',
},
}SCSS
$custom: #cc3ba8; $custom-light: #df7dc2; $custom-dark: #000000;
JSON
{
"hex": "#cc3ba8",
"rgb": {
"r": 204,
"g": 59,
"b": 168
},
"hsl": {
"h": 314.897,
"s": 58.704,
"l": 51.569
},
"oklch": {
"l": 0.60088,
"c": 0.21229,
"h": 339.6
},
"luminance": 0.18792
}Semantic roles & 50–950 ramp
primary
#CC3BA8
secondary
#92D1A1
accent
#E26D46
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81