#CC39B2#CC39B2
#CC39B2 is a mid, highly saturated pink. Relative luminance 0.190; OKLCH L 60.4% C 0.221 H 336.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #CC39B2 |
|---|---|
| RGB | rgb(204, 57, 178) |
| HSL | hsl(311, 59%, 51%) |
| HSV | hsv(311, 72%, 80%) |
| CMYK | cmyk(0%, 72.1%, 12.7%, 20%) |
| CIE-LAB | lab(50.67, 68.98, -32.88) |
| CIE-LCH | lch(50.67, 76.41, 334.51°) |
| OKLab | oklab(60.39% 0.2023 -0.0896) |
| OKLCH | oklch(60.39% 0.221 336.1) |
| XYZ | xyz(34.4014, 18.9811, 43.9628) |
| Luminance | 0.1898 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 1.61
Pinky Purple
#C94CBE
ΔE00 3.49
Purpleish Pink
#DF4EC8
ΔE00 6.49
Hot Magenta
#F504C9
ΔE00 6.67
Pinkish Purple
#D648D7
ΔE00 6.69
Purple Pink
#D725DE
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC39B2 #39CC53
analogous
#9C39CC #CC39B2 #CC3968
triadic
#CC39B2 #B2CC39 #39B2CC
tetradic
#CC39B2 #CC9C39 #39CC53 #3968CC
square
#CC39B2 #CC9C39 #39CC53 #3968CC
split-complementary
#CC39B2 #68CC39 #39CC9C
monochromatic
#6E1C60 #9F298A #CC39B2 #D96AC5 #E59AD8
Accessibility & contrast
On white
4.38
#CC39B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#CC39B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC39B2
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC39B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC39B2 | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B6AB5
Deuteranopia (green-blind)
#6E81AE
Tritanopia (blue-blind)
#D64371
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #cc39b2; /* rgb */ color: rgb(204, 57, 178); /* oklch */ color: oklch(60.4% 0.221 336.1);
Tailwind
colors: {
custom: {
50: '#df7dc9',
500: '#cc39b2',
950: '#000000',
},
}SCSS
$custom: #cc39b2; $custom-light: #df7dc9; $custom-dark: #000000;
JSON
{
"hex": "#cc39b2",
"rgb": {
"r": 204,
"g": 57,
"b": 178
},
"hsl": {
"h": 310.612,
"s": 59.036,
"l": 51.176
},
"oklch": {
"l": 0.60394,
"c": 0.22121,
"h": 336.1
},
"luminance": 0.18978
}Semantic roles & 50–950 ramp
primary
#CC39B2
secondary
#90D19B
accent
#E26146
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82