#CC3F8E#CC3F8E
#CC3F8E is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.4% C 0.192 H 350.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #CC3F8E |
|---|---|
| RGB | rgb(204, 63, 142) |
| HSL | hsl(326, 58%, 52%) |
| HSV | hsv(326, 69%, 80%) |
| CMYK | cmyk(0%, 69.1%, 30.4%, 20%) |
| CIE-LAB | lab(49.92, 62.12, -12.72) |
| CIE-LCH | lch(49.92, 63.41, 348.43°) |
| OKLab | oklab(59.36% 0.1894 -0.0331) |
| OKLCH | oklch(59.36% 0.192 350.1) |
| XYZ | xyz(31.5634, 18.3489, 27.4654) |
| Luminance | 0.1835 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.54
Darkish Pink
#DA467D
ΔE00 6.88
Magenta (survey)
#C20078
ΔE00 7.58
Purplish Pink
#CE5DAE
ΔE00 7.84
Neon Pink
#FE019A
ΔE00 8.01
Shocking Pink
#FE02A2
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC3F8E #3FCC7D
analogous
#C43FCC #CC3F8E #CC3F47
triadic
#CC3F8E #8ECC3F #3F8ECC
tetradic
#CC3F8E #CCC43F #3FCC7D #3F47CC
square
#CC3F8E #CCC43F #3FCC7D #3F47CC
split-complementary
#CC3F8E #47CC3F #3FCCC4
monochromatic
#721E4D #A32B6E #CC3F8E #D96FAA #E6A0C7
Accessibility & contrast
On white
4.50
#CC3F8E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#CC3F8E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC3F8E
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC3F8E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC3F8E | 1.00 | 4.50 | 4.67 | 4.67 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#546790
Deuteranopia (green-blind)
#7C808B
Tritanopia (blue-blind)
#DB3761
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #cc3f8e; /* rgb */ color: rgb(204, 63, 142); /* oklch */ color: oklch(59.4% 0.192 350.1);
Tailwind
colors: {
custom: {
50: '#e07faf',
500: '#cc3f8e',
950: '#000000',
},
}SCSS
$custom: #cc3f8e; $custom-light: #e07faf; $custom-dark: #000000;
JSON
{
"hex": "#cc3f8e",
"rgb": {
"r": 204,
"g": 63,
"b": 142
},
"hsl": {
"h": 326.383,
"s": 58.025,
"l": 52.353
},
"oklch": {
"l": 0.59361,
"c": 0.19227,
"h": 350.1
},
"luminance": 0.18345
}Semantic roles & 50–950 ramp
primary
#CC3F8E
secondary
#95D2B0
accent
#E18B47
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F