#CC37A2#CC37A2
#CC37A2 is a mid, highly saturated pink. Relative luminance 0.182; OKLCH L 59.5% C 0.213 H 341.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #CC37A2 |
|---|---|
| RGB | rgb(204, 55, 162) |
| HSL | hsl(317, 59%, 51%) |
| HSV | hsv(317, 73%, 80%) |
| CMYK | cmyk(0%, 73%, 20.6%, 20%) |
| CIE-LAB | lab(49.72, 67.42, -24.94) |
| CIE-LCH | lch(49.72, 71.88, 339.70°) |
| OKLab | oklab(59.47% 0.2022 -0.067) |
| OKLCH | oklch(59.47% 0.213 341.7) |
| XYZ | xyz(32.7907, 18.1817, 35.9579) |
| Luminance | 0.1818 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.51
Pinky Purple
#C94CBE
ΔE00 5.91
Mediumvioletred
#C71585
ΔE00 6.31
Purplish Pink
#CE5DAE
ΔE00 7.13
Ugly Purple
#A442A0
ΔE00 7.76
Hot Magenta
#F504C9
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC37A2 #37CC61
analogous
#AC37CC #CC37A2 #CC3757
triadic
#CC37A2 #A2CC37 #37A2CC
tetradic
#CC37A2 #CCAC37 #37CC61 #3757CC
square
#CC37A2 #CCAC37 #37CC61 #3757CC
split-complementary
#CC37A2 #57CC37 #37CCAC
monochromatic
#6D1C56 #9E287D #CC37A2 #D868B9 #E599CF
Accessibility & contrast
On white
4.53
#CC37A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#CC37A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC37A2
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC37A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC37A2 | 1.00 | 4.53 | 4.64 | 4.64 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4467A5
Deuteranopia (green-blind)
#737F9F
Tritanopia (blue-blind)
#D93968
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #cc37a2; /* rgb */ color: rgb(204, 55, 162); /* oklch */ color: oklch(59.5% 0.213 341.7);
Tailwind
colors: {
custom: {
50: '#e07cbd',
500: '#cc37a2',
950: '#000000',
},
}SCSS
$custom: #cc37a2; $custom-light: #e07cbd; $custom-dark: #000000;
JSON
{
"hex": "#cc37a2",
"rgb": {
"r": 204,
"g": 55,
"b": 162
},
"hsl": {
"h": 316.913,
"s": 59.363,
"l": 50.784
},
"oklch": {
"l": 0.59472,
"c": 0.21297,
"h": 341.7
},
"luminance": 0.18178
}Semantic roles & 50–950 ramp
primary
#CC37A2
secondary
#8ED0A1
accent
#E37245
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160A12
muted
#847C81