#CC3F98#CC3F98
#CC3F98 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.8% C 0.198 H 345.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #CC3F98 |
|---|---|
| RGB | rgb(204, 63, 152) |
| HSL | hsl(322, 58%, 52%) |
| HSV | hsv(322, 69%, 80%) |
| CMYK | cmyk(0%, 69.1%, 25.5%, 20%) |
| CIE-LAB | lab(50.29, 63.36, -18.12) |
| CIE-LCH | lch(50.29, 65.90, 344.04°) |
| OKLab | oklab(59.76% 0.1918 -0.048) |
| OKLCH | oklch(59.76% 0.198 345.9) |
| XYZ | xyz(32.3482, 18.6628, 31.5984) |
| Luminance | 0.1866 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.97
Purplish Pink
#CE5DAE
ΔE00 6.61
Purpley Pink
#C83CB9
ΔE00 6.82
Pinky Purple
#C94CBE
ΔE00 7.51
Shocking Pink
#FE02A2
ΔE00 7.99
Bright Pink
#FE01B1
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC3F98 #3FCC73
analogous
#BA3FCC #CC3F98 #CC3F51
triadic
#CC3F98 #98CC3F #3F98CC
tetradic
#CC3F98 #CCBA3F #3FCC73 #3F51CC
square
#CC3F98 #CCBA3F #3FCC73 #3F51CC
split-complementary
#CC3F98 #51CC3F #3FCCBA
monochromatic
#721E53 #A32B77 #CC3F98 #D96FB2 #E6A0CC
Accessibility & contrast
On white
4.44
#CC3F98 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#CC3F98 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC3F98
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC3F98 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC3F98 | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#50689B
Deuteranopia (green-blind)
#7A8095
Tritanopia (blue-blind)
#DA3C66
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #cc3f98; /* rgb */ color: rgb(204, 63, 152); /* oklch */ color: oklch(59.8% 0.198 345.9);
Tailwind
colors: {
custom: {
50: '#e07fb6',
500: '#cc3f98',
950: '#000000',
},
}SCSS
$custom: #cc3f98; $custom-light: #e07fb6; $custom-dark: #000000;
JSON
{
"hex": "#cc3f98",
"rgb": {
"r": 204,
"g": 63,
"b": 152
},
"hsl": {
"h": 322.128,
"s": 58.025,
"l": 52.353
},
"oklch": {
"l": 0.59757,
"c": 0.1977,
"h": 345.9
},
"luminance": 0.18659
}Semantic roles & 50–950 ramp
primary
#CC3F98
secondary
#95D2AB
accent
#E18047
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80