#CC3F8F#CC3F8F
#CC3F8F is a mid, vivid pink. Relative luminance 0.184; OKLCH L 59.4% C 0.193 H 349.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #CC3F8F |
|---|---|
| RGB | rgb(204, 63, 143) |
| HSL | hsl(326, 58%, 52%) |
| HSV | hsv(326, 69%, 80%) |
| CMYK | cmyk(0%, 69.1%, 29.9%, 20%) |
| CIE-LAB | lab(49.95, 62.24, -13.26) |
| CIE-LCH | lch(49.95, 63.64, 347.97°) |
| OKLab | oklab(59.4% 0.1897 -0.0346) |
| OKLCH | oklch(59.4% 0.193 349.6) |
| XYZ | xyz(31.6388, 18.3790, 27.8626) |
| Luminance | 0.1838 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.54
Darkish Pink
#DA467D
ΔE00 7.07
Magenta (survey)
#C20078
ΔE00 7.64
Purplish Pink
#CE5DAE
ΔE00 7.69
Neon Pink
#FE019A
ΔE00 8.02
Shocking Pink
#FE02A2
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC3F8F #3FCC7C
analogous
#C23FCC #CC3F8F #CC3F49
triadic
#CC3F8F #8FCC3F #3F8FCC
tetradic
#CC3F8F #CCC23F #3FCC7C #3F49CC
square
#CC3F8F #CCC23F #3FCC7C #3F49CC
split-complementary
#CC3F8F #49CC3F #3FCCC2
monochromatic
#721E4E #A32B6F #CC3F8F #D96FAB #E6A0C7
Accessibility & contrast
On white
4.49
#CC3F8F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#CC3F8F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC3F8F
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC3F8F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC3F8F | 1.00 | 4.49 | 4.68 | 4.68 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#546791
Deuteranopia (green-blind)
#7C808C
Tritanopia (blue-blind)
#DB3861
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #cc3f8f; /* rgb */ color: rgb(204, 63, 143); /* oklch */ color: oklch(59.4% 0.193 349.6);
Tailwind
colors: {
custom: {
50: '#e07faf',
500: '#cc3f8f',
950: '#000000',
},
}SCSS
$custom: #cc3f8f; $custom-light: #e07faf; $custom-dark: #000000;
JSON
{
"hex": "#cc3f8f",
"rgb": {
"r": 204,
"g": 63,
"b": 143
},
"hsl": {
"h": 325.957,
"s": 58.025,
"l": 52.353
},
"oklch": {
"l": 0.59399,
"c": 0.19279,
"h": 349.6
},
"luminance": 0.18376
}Semantic roles & 50–950 ramp
primary
#CC3F8F
secondary
#95D2AF
accent
#E18947
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F