#CC3BAF#CC3BAF
#CC3BAF is a mid, highly saturated pink. Relative luminance 0.191; OKLCH L 60.4% C 0.217 H 337.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CC3BAF |
|---|---|
| RGB | rgb(204, 59, 175) |
| HSL | hsl(312, 59%, 52%) |
| HSV | hsv(312, 71%, 80%) |
| CMYK | cmyk(0%, 71.1%, 14.2%, 20%) |
| CIE-LAB | lab(50.76, 67.88, -30.97) |
| CIE-LCH | lch(50.76, 74.61, 335.47°) |
| OKLab | oklab(60.42% 0.1999 -0.0842) |
| OKLCH | oklch(60.42% 0.217 337.2) |
| XYZ | xyz(34.2043, 19.0636, 42.4274) |
| Luminance | 0.1906 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.18
Pinky Purple
#C94CBE
ΔE00 3.66
Purpleish Pink
#DF4EC8
ΔE00 6.49
Purplish Pink
#CE5DAE
ΔE00 6.63
Hot Magenta
#F504C9
ΔE00 6.78
Pinkish Purple
#D648D7
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC3BAF #3BCC58
analogous
#A13BCC #CC3BAF #CC3B67
triadic
#CC3BAF #AFCC3B #3BAFCC
tetradic
#CC3BAF #CCA13B #3BCC58 #3B67CC
square
#CC3BAF #CCA13B #3BCC58 #3B67CC
split-complementary
#CC3BAF #67CC3B #3BCCA1
monochromatic
#701D5F #A02A88 #CC3BAF #D96CC3 #E59CD7
Accessibility & contrast
On white
4.36
#CC3BAF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#CC3BAF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC3BAF
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC3BAF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC3BAF | 1.00 | 4.36 | 4.81 | 4.81 |
| #FFFFFF | 4.36 | 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)
#3F6BB2
Deuteranopia (green-blind)
#7081AC
Tritanopia (blue-blind)
#D74370
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #cc3baf; /* rgb */ color: rgb(204, 59, 175); /* oklch */ color: oklch(60.4% 0.217 337.2);
Tailwind
colors: {
custom: {
50: '#df7ec7',
500: '#cc3baf',
950: '#000000',
},
}SCSS
$custom: #cc3baf; $custom-light: #df7ec7; $custom-dark: #000000;
JSON
{
"hex": "#cc3baf",
"rgb": {
"r": 204,
"g": 59,
"b": 175
},
"hsl": {
"h": 312,
"s": 58.704,
"l": 51.569
},
"oklch": {
"l": 0.60418,
"c": 0.21694,
"h": 337.2
},
"luminance": 0.1906
}Semantic roles & 50–950 ramp
primary
#CC3BAF
secondary
#92D19E
accent
#E26546
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82