#CC3F8D#CC3F8D
#CC3F8D is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.3% C 0.192 H 350.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #CC3F8D |
|---|---|
| RGB | rgb(204, 63, 141) |
| HSL | hsl(327, 58%, 52%) |
| HSV | hsv(327, 69%, 80%) |
| CMYK | cmyk(0%, 69.1%, 30.9%, 20%) |
| CIE-LAB | lab(49.88, 62.00, -12.17) |
| CIE-LCH | lch(49.88, 63.19, 348.89°) |
| OKLab | oklab(59.32% 0.1891 -0.0317) |
| OKLCH | oklch(59.32% 0.192 350.5) |
| XYZ | xyz(31.4887, 18.3190, 27.0718) |
| Luminance | 0.1832 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.54
Darkish Pink
#DA467D
ΔE00 6.70
Magenta (survey)
#C20078
ΔE00 7.52
Purplish Pink
#CE5DAE
ΔE00 7.98
Neon Pink
#FE019A
ΔE00 8.02
Shocking Pink
#FE02A2
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC3F8D #3FCC7E
analogous
#C53FCC #CC3F8D #CC3F46
triadic
#CC3F8D #8DCC3F #3F8DCC
tetradic
#CC3F8D #CCC53F #3FCC7E #3F46CC
square
#CC3F8D #CCC53F #3FCC7E #3F46CC
split-complementary
#CC3F8D #46CC3F #3FCCC5
monochromatic
#721E4D #A32B6D #CC3F8D #D96FAA #E6A0C6
Accessibility & contrast
On white
4.50
#CC3F8D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#CC3F8D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC3F8D
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC3F8D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC3F8D | 1.00 | 4.50 | 4.66 | 4.66 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#54678F
Deuteranopia (green-blind)
#7D808A
Tritanopia (blue-blind)
#DB3760
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #cc3f8d; /* rgb */ color: rgb(204, 63, 141); /* oklch */ color: oklch(59.3% 0.192 350.5);
Tailwind
colors: {
custom: {
50: '#e07fae',
500: '#cc3f8d',
950: '#000000',
},
}SCSS
$custom: #cc3f8d; $custom-light: #e07fae; $custom-dark: #000000;
JSON
{
"hex": "#cc3f8d",
"rgb": {
"r": 204,
"g": 63,
"b": 141
},
"hsl": {
"h": 326.809,
"s": 58.025,
"l": 52.353
},
"oklch": {
"l": 0.59323,
"c": 0.19176,
"h": 350.5
},
"luminance": 0.18315
}Semantic roles & 50–950 ramp
primary
#CC3F8D
secondary
#95D2B0
accent
#E18C47
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F